rahmasa / fill-record
There is no license information available for the latest version (v1.0.0) of this package.
Auto fill traced columns in Eloquent [created_by_user,created_by_ip,updated_by_user,updated_by_ip]
v1.0.0
2021-05-10 10:36 UTC
README
This package provides a trait that will fill traced columns when saving any or updating Eloquent model.
Installation
composer require rahmasa/fill-record
usage
use trait in every model has this columns ['created_by_user','updated_by_user','created_by_ip','updated_by_ip]
use Rahmasa\FillRecord\FillRecord; class Branch extends Model { use FillRecord;