laravel-enso/historytracker

Model history tracking dependency for Laravel Enso

1.5.2 2019-03-17 09:48 UTC

README

Codacy Badge StyleCI License Total Downloads Latest Stable Version

Simple to use, customizable, Laravel Model history tracking utility trait

This package can work independently of the Enso ecosystem.

For live examples and demos, you may visit laravel-enso.com

Installation

Comes pre-installed in Enso.

To install outside of Enso: composer require laravel-enso/historytracker

Features

The trait helps keep track of the changes made to a model by saving a snapshot for each relevant update of the model to a different 'history' table.

The records in the history table are linked via FK to the original model. Setting a FK constraint on the DB column may be set if necessary.

Configuration & Usage

Be sure to check out the full documentation for this package available at docs.laravel-enso.com

Contributions

are welcome. Pull requests are great, but issues are good too.

License

This package is released under the MIT license.