nullref/yii2-category
最新稳定版本:v0.0.2
Composer 安装命令:
composer require nullref/yii2-category
包简介
README 文档
README
Module for categories (WIP)
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist nullref/yii2-category "*"
or add
"nullref/yii2-category": "*"
to the require section of your composer.json file.
Then You have run console command for install this module:
php yii module/install nullref/yii2-category
and module will be added to your application config (@app/config/installed_modules.php)
Pay attention that if you don't use our application template it needs to change config files structure to have ability run commands that show above.
Please check this documentation section
Module integration
If you need additional information about integration current module with your project, please check example folder
Using with admin module
You can use this module with modules:
Models overriding
'category' => [ 'class' => 'nullref\category\Module', 'classMap' => [ 'Category' => 'app\models\Category', 'CategoryQuery' => 'app\models\CategoryQuery', ], ],
Also you have to add module to bootstrap list of application:
... 'bootstrap' => ['category',...], ...
统计信息
- 总下载量: 1.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-03

