vadiasov/albums-admin
Composer 安装命令:
composer require vadiasov/albums-admin
包简介
Laravel package to create DB table albums and to serve CRUD pages in administrative panel for it.
README 文档
README
This package creates DB albums (music albums). It serves CRUD pages for albums in administrative panel.
It includes a ServiceProvider to register the package and attach it to the output. It includes migrations to create DB albums.
Installation
Add the package to root composer.json:
"require": {
...
"vadiasov/albums-admin": "^1.0.0",
}
Then run:
composer update
Register package in config/app.php
'providers' => [
/*
* Package Service Providers...
*/
Vadiasov\AlbumsAdmin\AlbumsAdminServiceProvider::class,
Create model:
php artisan make:model Album
Publish config, 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
Routes
The routes are in the package:
admin/albums
admin/albums/create
admin/albums/{id}/edit
admin/albums/{id}/delete
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-26