valiant/yii2-misc
最新稳定版本:0.1
Composer 安装命令:
composer require valiant/yii2-misc
包简介
Yii2 misc
关键字:
README 文档
README
Yii2 misc
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist valiant/yii2-misc "*"
or add
"valiant/yii2-misc": "*"
to the require section of your composer.json file.
Usage
SluggableBehavior:
public function behaviors() { return [ ... 'slug' => [ 'class' => valiant\yii2\behaviors\SluggableBehavior::className(), 'from_attribute' => 'name_attribute', 'to_attribute' => 'slug_attribute', 'transliteration' => true, 'unique' => true, ], ]; }
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-11-06