{"repo":"spatie/laravel-activitylog","free":true,"listed":false,"github":"https://github.com/spatie/laravel-activitylog","clone":"git clone https://github.com/spatie/laravel-activitylog.git","description":"Log activity inside your Laravel app","language":"PHP","stars":5886,"topics":["laravel","php","log","audit","monitoring"],"license":"MIT","category":"analytics","readme_excerpt":"Log activity inside your Laravel app The 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. The package stores all activity in the activity log table. Here's a demo of how you can use it: You can retrieve all activity using the Spatie\\Activitylog\\Models\\Activity model. Here's a more advanced example: Here's an example on event logging. Calling $activity- attribute changes will return this collection: Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Documentation You'll find the documentation on https://spatie.be/docs/laravel-activitylog/introduction. Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the activity log? Feel free to create an issue on GitHub, we'll try to address it as soon as possible. Installation You can install the package via composer: The package will automatically register itself. You can publish the migration with: Note : The default migration assumes you are using integers for your model IDs. If you are using UUIDs, or some other format, adjust the format of the subject id","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-activitylog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}