User actions logger dependency for Laravel.
This package works exclusively within the Enso ecosystem.
The front end assets that utilize this api are present in the ui package.
For live examples and demos, you may visit laravel-enso.com
Comes pre-installed in Enso.
- 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
action-loggermiddleware on the routes that you want covered
ActionLogstrait on your user model, so you may retrieve the user's actions
Since the logged info contains the user_id, this means you cannot use the middleware on routes where the user information is unavailable (e.g. the user is not authenticated).
are welcome. Pull requests are great, but issues are good too.
This package is released under the MIT license.