Log activity in a Laravel app with Laravel Activitylog
Freek Van der Herten built a new package that we can use to log all users' activity easily: Laravel ActivityLog.
Here is how it looks:
This package is very easy to use.
You can retrieve all activity using:
Activity::all();
And you can log something just by typing:
activity()->log('log something');
You can find this package on Github:
https://github.com/spatie/laravel-activitylog?utm_source=learninglaravel.net
Or read the documentation at:
https://docs.spatie.be/laravel-activitylog/v1/introduction?utm_source=learninglaravel.net
This post is submitted by our members. Submit a new post.
Tags: Tutorials Packages Sources Laravel 5 Laravel 5.1 Laravel 5.2 Intermediate