, (*1)
Laravel Followers
Build a poly-morph follower system or simply associate Eloquent models in Laravel., (*2)
Installation
Require the package from your composer.json file, (*3)
"require": {
"lecturize/laravel-followers": "dev-master"
}
and run $ composer update or both in one with $ composer require lecturize/laravel-followers., (*4)
Next register the service provider and (optional) facade to your config/app.php file, (*5)
Configuration & Migration
$ php artisan vendor:publish --provider="Lecturize\Followers\FollowersServiceProvider"
This will publish a config/lecturize.php and some migration files, that you'll have to run:, (*6)
$ php artisan migrate
For migrations to be properly published ensure that you have added the directory database/migrations to the classmap in your projects composer.json., (*7)
License
Licensed under MIT license., (*8)
Author
Handcrafted with love by Alexander Manfred Poellmann in Vienna & Rome., (*9)