Package Data | |
---|---|
Maintainer Username: | AlexanderPoellmann |
Package Create Date: | 2015-09-03 |
Package Last Update: | 2023-02-21 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-11 15:27:03 |
Package Statistics | |
---|---|
Total Downloads: | 1,386 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 13 |
Total Watchers: | 3 |
Total Forks: | 2 |
Total Open Issues: | 1 |
Build a poly-morph Follower system or simply associate Eloquent models in Laravel 5.
This package is a work in progress, please use with care and feel free to report any issues or ideas you may have!
We've transferred this package to a new owner and therefor updated the namespaces to Lecturize\Followers. The config file is now config/lecturize.php
.
Require the package from your composer.json
file
"require": {
"lecturize/laravel-followers": "dev-master"
}
and run $ composer update
or both in one with $ composer require lecturize/laravel-followers
.
Next register the service provider and (optional) facade to your config/app.php
file
'providers' => [
// Illuminate Providers ...
// App Providers ...
Lecturize\Followers\FollowersServiceProvider::class
];
$ php artisan vendor:publish --provider="Lecturize\Followers\FollowersServiceProvider"
This will create a config/lecturize.php
and a migration file. In the config file you can customize the table names, finally you'll have to run migration like so:
$ php artisan migrate
Licensed under MIT license.
Handcrafted with love by Alexander Manfred Poellmann in Vienna & Rome.