Download the PHP package cybernerdie/laravel-model-activity-log without Composer
On this page you can find all versions of the php package cybernerdie/laravel-model-activity-log. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cybernerdie/laravel-model-activity-log
More information about cybernerdie/laravel-model-activity-log
Files in cybernerdie/laravel-model-activity-log
Package laravel-model-activity-log
Short Description A simple package to log model activities inside your laravel application
License MIT
Homepage https://github.com/cybernerdie/laravel-model-activity-log
Informations about the package laravel-model-activity-log
A simple package to log model activities inside your laravel application
This package logs model activities inside your Laravel application.
Installation
You can install the package via composer:
You can publish the migrations with:
You can run the migrations with:
Usage
Add the trait to your model and also import the class:
Optionally, you can set the events to be recorded for your model:
Optionally, you can add columns in your model that you want to ignore when events are recorded:
Retrieve activities for a model:
Retrieve activities by event type:
Retrieve changes for a specific activity:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Joshua Paul
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-model-activity-log with dependencies
spatie/laravel-package-tools Version ^1.6
illuminate/support Version ^8.0|^9.0