munettt / userstamps
Userstamps for Laravel
v0.4.0
2022-02-04 16:15 UTC
Requires
- php: ^7.2|^8.0
- laravel/framework: ^5.5|^6|^7|^8|^9
This package is auto-updated.
Last update: 2025-07-05 00:06:47 UTC
README
Create created_by and updated_by for your migrations.
$table->userstamps();
will add
created_by
and updated_by
column
Comes with handy trait to use in your model
use Munettt\Userstamps\Userstamps; class Book extends Model { use Userstamps; // }
which register events upon creating/updating model with appropriate created_by / updated_by user id.