hienning/taxonomy
最新稳定版本:v1.0.6
Composer 安装命令:
composer require hienning/taxonomy
包简介
README 文档
README
A taxonomy inspired by Drupal for Laravel 5. Lots of sql queries in this codebase were copied from Mike Hillyer's post.
Installation
composer require hienning/taxonomy
load the service in your config/app.php:
/* * Application Service Providers... */ 'App\Providers\AppServiceProvider', 'App\Providers\BusServiceProvider', 'App\Providers\ConfigServiceProvider', 'App\Providers\EventServiceProvider', 'App\Providers\RouteServiceProvider', 'Hienning\Taxonomy\ServiceProvider', ...
How to use it
Preparation
1. Create the data table
artisan taxonomy:create-table [name]
where the 'name' is the table name which being created; or use 'taxonomy' by leaving this argument blank.
2. Inherit your model from Hienning\Taxonomy\Model
class Taxonomy extends \Hienning\Taxonomy\Model { ... };
To be continue ... ;-)
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-07-13