Skip to content

yunus-floo/laravel-model-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Model Tracker

Installation

You can install the package via composer:

composer require ghoni-jee/model-tracker

You can publish and custom Blueprint Macro Or Model Trait with:

php artisan vendor:publish --provider="GhoniJee\ModelTracker\ModelTrackerServiceProvider"

Usage

  1. Add Model tracker to model migration
....
     public function up()
    {
        Schema::create('users', function (Blueprint $table) {
            ....
            $table->modelTracker();
        });
    }
...
  1. Add Model Tracker Trait to Model

class User extends Authenticatable
{
    use ModelTracker;
    ....
}

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages