vadiasov/tags
Composer 安装命令:
composer require vadiasov/tags
包简介
Laravel package to create Tags, to create CRUD actions with them in administrative panel.
README 文档
README
This package creates plain tags CRUD pages for tags in administrative panel.
It includes a ServiceProvider to register the package and attach it to the output. It includes migrations to create DB roles. You can publish seeds and use it to create demo tags. It includes views of the CRUD pages (blade sections).
Installation
Add the package to root composer.json:
"require": {
...
"vadiasov/tags": "^1.0",
}
Then run:
composer update
Register package in config/app.php
'providers' => [
/*
* Package Service Providers...
*/
Vadiasov\Tags\TagsServiceProvider::class,
Create model:
php artisan make:model Tag
Publish migrations and seeds. Run:
php artisan vendor:publish
and enter appropriate number of this package (see terminal output after last command).
Migrate:
php artisan migrate
Seed if you need demo data:
php artisan db:seed class=TagsSeeder
Routes
The routes are in the package:
admin/tags
admin/tags/create
admin/tags/{id}/edit
admin/tags/{id}/delete
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-19