vendocrat/laravel-followers
最新稳定版本:v1.0.0
Composer 安装命令:
composer require vendocrat/laravel-followers
包简介
Build a poly-morph Follower system or simply associate Eloquent models in Laravel 5.
README 文档
README
Laravel Followers
Build a poly-morph follower system or simply associate Eloquent models in Laravel.
Installation
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
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:
$ 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.
License
Licensed under MIT license.
Author
Handcrafted with love by Alexander Manfred Poellmann in Vienna & Rome.
统计信息
- 总下载量: 255
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-05