utichawa/events
Composer 安装命令:
composer require utichawa/events
包简介
Module events for CMS medianet
关键字:
README 文档
README
Module events that can be added to any project that has CMS MEDIANET LARAVEL
Installation
You can install the package via composer:
composer require utichawa/events
Publish files
Publishing all files
php artisan vendor:publish --provider="Utichawa\Events\EventsServiceProvider"
Or you can also add tags to publish certain files
Views : --tag="views" Config : --tag="config" Migrations : --tag="migrations" Fake Data : --tag="fake_data" Requests : --tag="requests" Controllers : --tag="controllers" Models : --tag="models" Routes : --tag="routes"
Notice : Run this before you continue
composer dump
Run migrations
php artisan migrate
Add Module :
php artisan db:seed --class=ModuleEventTableSeeder
Add Routes
Add this line to the config file 'packages.php'
'events' => config('cms-events.route_namespace_controllers')
Adding fake data (Menu to Main menu + Dummy events and categories)
php artisan db:seed --class=EventsTableSeeder
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-30