bmartel / logbook
0.1.0
2015-09-12 05:08 UTC
Requires
- php: >=5.5.0
- illuminate/config: ~5.0
- illuminate/database: ~5.0
- illuminate/support: ~5.0
Requires (Dev)
- phpspec/phpspec: ~2.0
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-11-09 18:54:07 UTC
README
Adds simple change logs to eloquent models through a convenient interface and trait.
Usage
In any eloquent model you want to track changes, implement the Bmartel\Logbook\LoggableContract and use the Bmartel\Logbook\Loggable trait. By default Logbook will watch your fillable properties, but you can supply your own properties by overriding the $loggable array in each Loggable model.
Credits
Brandon Martel - Maintainer