bmartel/logbook

0.1.0 2015-09-12 05:08 UTC

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