garcia1901l/laravel-activity-lite
Lightweight MongoDB-backed activity logger for Laravel (7–12). Automatically tracks model create/update/delete, records the causer (user, artisan, queues), supports manual log entries, configurable events, and powerful querying with CLI filters and JSON/CSV export.
Adopt If:
Look Elsewhere If:
owen-it/laravel-auditing) or has strict performance constraints (MongoDB adds latency).For Executives: "This package lets us automatically log all changes to critical data (e.g., user profiles, orders) in a lightweight MongoDB database—like a ‘black box’ for our app. It’s turnkey: install it, and we instantly get a searchable history of who changed what and when, without slowing down our primary database. Perfect for compliance, debugging, or building trust with customers who need to see their data’s provenance. Cost? Zero—it’s open-source and MIT-licensed."
For Engineering: *"Need audit logs for Laravel models? This is a 5-minute setup with MongoDB that handles CRUD tracking automatically. Key perks:
Activity::whereModel('Post')->whereCauserId(123)->get()).For Developers:
*"If you’re tired of writing custom observers or model events for audit logs, this package does it for you. Just:
composer require garcia1901l/laravel-activity-lite).php artisan activity-lite:install.use \Garcia1901l\LaravelActivityLite\Traits\Activity;.
Now every create(), update(), or delete() on those models gets logged to MongoDB with the causer (user/Artisan/job) and timestamp. Querying is straightforward—think of it as a ‘time machine’ for your data."*How can I help you explore Laravel packages today?