Recommend this page to a friend! |
Classes of Zacchaeus Bolaji | Laravel Revert Model Events | README.md | Download |
|
DownloadLaravel Model Event Log & RevertLaravel Model Event Logger and Revert logs every action on a model (create, delete, update), provides an interface to see the list of all activities as well as revert specific model event.
InstallationStep 1You can install the package via composer:
Laravel 5.5 and aboveThe package will automatically register itself, so you can start using it immediately. Laravel 5.4 and olderIn Laravel version 5.4 and older, you have to add the service provider in
LumenAfter installing the package, you will have to register it in
Step 2 - Publishing files
Step 3 - SetUp database
Usage
Access Saved model event logs|Endpoint|Description|
|:------------- | :----------: |
| Reverting via ConsoleIf you know the specific ID of the event you which you revert, you can run:
Contributing
|