Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Userstamps Laravel Package

wildside/userstamps

View on GitHub
Deep Wiki
Context7
4.0.0

Breaking Changes

  • This release drops support for Laravel version 9.x.
  • creator, editor, and destroyer all now return a BelongsTo relation.

What's Changed

  • feat: support Laravel 13

Full Changelog: https://github.com/mattiverse/Laravel-Userstamps/compare/3.1.1...4.0.0

3.1.1
3.1.0

What's New

This release introduces macros to simplify creating migrations.

Userstamp columns can now be created with:

$table->userstamps();
$table->userstampSoftDeletes();

And dropped with:

$table->dropUserstamps();
$table->dropUserstampSoftDeletes();

What's Changed

New Contributors

Full Changelog: https://github.com/mattiverse/Laravel-Userstamps/compare/3.0.0...3.1.0

3.0.0

Breaking Changes

  • This release drops support for PHP versions lower than 8.2 and Laravel versions lower than 9.x.
  • This release updates the namespace from Wildside\Userstamps to Mattiverse\Userstamps to reflect the ownership change of this project.
  • Additionally, the Userstamps trait has moved from Wildside\Userstamps\Userstamps to Mattiverse\Userstamps\Traits\Userstamps - note the additional nesting under Traits.

What's Changed

Full Changelog: https://github.com/mattiverse/Laravel-Userstamps/compare/2.5.0...3.0.0

2.5.0

What's Changed

  • feat: support for Laravel 12
  • chore: updated tests

Contributors

Full Changelog: https://github.com/mattiverse/Laravel-Userstamps/compare/2.4.0...2.5.0

2.4.0

Adds support for Laravel 11.x

2.3.0

Adds support for Laravel 10.x

2.2.0

Adds support for Laravel 9.x

2.1.0

Adds support for Laravel 8.x.

2.0.0

This releases contains no new functionality, but has a breaking change for an undocumented behaviour.

The majority of use cases should not be effected by this change, but tagging a major version in case anyone was relying on the behaviour.

Previously, setting any of CREATED_BY, UPDATED_BY and DELETED_BY class constants to null would revert to the default column name. This release changes that behaviour to match Laravel's pattern for the timestamp class constants. A value of null on any of those class constants will now disable maintaining of that column.

1.2.0

Adds support for Laravel 7.x.

1.1.0

Remove use of helper method unsupported by Lumen.

1.0.0

New helper methods are available to workaround limitations with Eloquent events when performing bulk updates or deletes.

updateWithUserstamps and deleteWithUserstamps behave exactly the same as update and delete, but allow you to make bulk updates that maintain the correct updated_by and deleted_by values.

1.0.0-rc.0

New helper methods are available to workaround limitations with Eloquent events when performing bulk updates or deletes.

updateWithUserstamps and deleteWithUserstamps behave exactly the same as update and delete, but allow you to make bulk updates that maintain the correct updated_by and deleted_by values.

0.6.0

Fixes an issues where the creator, editor and destroyer methods would resolve to the incorrect class.

Breaking changes

  • This release drops support for Laravel < 5.2.
  • This release removes an accidental behaviour where updated_by could be set to null, overwriting the last set value, if no user is present.
0.5.6

Adds support for Laravel 6.x.

0.5.5

Adds support for Laravel 5.8.

0.5.4

Fixes a bug causing unnecessary events from being fired when a model is softly deleted.

Thanks to @mazyvan for the fix.

0.5.3

Adds support for Laravel 5.7.

0.5.2

The creator, editor and destroyer methods now respect custom column names.

Thanks to @tayfunkayahan for their help with this one.

0.5.1

Setting the UPDATED_BY constant to null will now disable maintaining an updated_by column.

0.5.0

Allow custom created_by, updated_by and deleted_by column names.

Support Laravel 5.6

Thanks to @tbirrell and @RomeroMsk for their input on this release.

0.4.0

Don't override created_by or updated_by when creating, if already set.

Don't override deleted_by when deleting, if already set.

0.3.0

Ensures SoftDeletes are correctly detected when loaded by a parent class.

0.2.3

Fixes a bug blocking deleted_by being set when fired on multiple records at once.

0.2.2

Fixes a bug breaking compatibility with Laravel 5.1

0.2.1

New methods allow you to stop and start userstamping on a model.

No behaviour has changed as userstamps will continue to be automatically maintained - you just now have the option to chose otherwise.

0.2.0

Adds new methods for checking who created, updated and deleted models.

When creating a model the updated_by column will now be set to match created_by as per behaviour in Laravel of created_at and updated_at.

0.1.3

Improved method used to detect SoftDeletes trait

0.1.2

Match PHP requirements with Laravel 5.1 LTS

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle