Laravel Model history tracking made easy
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github added issue template Mar 26, 2018
src/app/Traits Apply fixes from StyleCI Oct 21, 2018
tests/features small refactor in test Oct 7, 2018
.styleci.yml changes code style Oct 21, 2018
LICENSE first commit Mar 19, 2017
README.md updated documentation with link to main docs; removed duplicated inst… Jul 27, 2018
composer.json updates composer.json Sep 3, 2018

README.md

HistoryTracker

Codacy Badge StyleCI License Total Downloads Latest Stable Version

Simple to use, customizable Laravel Model history tracking utility trait

Laravel Enso already includes this package

Details

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.