Laravel-activitylog is a package for Laravel that logs user activity and model events within your application.
The package solves the problem of tracking what happens inside your Laravel app by providing straightforward functions to manually log user activities and automatically capture model events. All logged activity is stored in a dedicated activity_log table, and you can retrieve and query this data using the Activity model. The package tracks attribute changes on models, allowing you to see what fields were modified and how.
The tool suits Laravel applications that need audit trails, user activity monitoring, or compliance logging. It works well for projects where you need to understand who did what and when. The package handles the common case where model IDs are integers, but you can adjust the migration if you use UUIDs or other ID formats before running migrations.
The project receives issue and pull request responses within one to two weeks. Work in the issue tracker centers on bug fixes, enhancements, and items marked for revisiting in the next major version.