Laravel Userstamps provides an Eloquent trait which automatically maintains `created_by` and `updated_by` columns on your model, populated by the currently authenticated user in your application.
Adds support for Laravel 6.x.
Adds support for Laravel 5.8.
Fixes a bug causing unnecessary events from being fired when a model is softly deleted.
Thanks to @mazyvan for the fix.
Adds support for Laravel 5.7.
The creator
, editor
and destroyer
methods now respect custom column names.
Thanks to @tayfunkayahan for their help with this one.
Setting the UPDATED_BY
constant to null will now disable maintaining an updated_by
column.
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.
Don't override created_by
or updated_by
when creating, if already set.
Don't override deleted_by
when deleting, if already set.
Ensures SoftDeletes are correctly detected when loaded by a parent class.
Fixes a bug blocking deleted_by
being set when fired on multiple records at once.