Laravel

laravel-activitylog

spatie/laravel-activitylog package provides easy to use functions to log the activities of the users of your app. It can also automatically log model events. All activity will be stored in the activity_log table.

Here’s a litte demo of how you can use it:

activity()->log(‘Look mum, I logged something’);

You can retrieve all activity using the Spatie\Activitylog\Models\Activity model.

Activity::all();

Here is documentation about the package.

https://docs.spatie.be/laravel-activitylog/v3/

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *