User actions logger dependency for Laravel.
- creates the
action_logstable and the
- will log all access routes covered by the
- comes with the
ActionLogstrait that defines the relationship to the
ActionLogmodel, and should be included in your user model
- each entry will record
methodverb and timestamps
Run the migrations
php artisan migrate
action-loggermiddleware on the routes that you want covered
ActionLogstrait on your user model, so you may retrieve the user's actions
The Laravel Enso Core package comes with this package included.
If using the package together with Laravel Enso, the list of actions for an user are available in each user's profile page.