a php trait for laravel for logging model activity to database and can also be used without models.
After adding The model and migration files.
in any model add use RevisionableTrait after the model class declration.
'login' can be any message.
protected static $dontRevision = ['title','age'];
'title' and 'age' will not be revisioned
protected static $formatRevision = ['title' => 'Title','age'=>'Age'];
'title' will be revisioned as 'Title' and 'age' will be revisioned as 'Age'
\App\Revision::createNonModel('login');