承接 hienning/taxonomy 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-07-13