developit/yii2-persian-slug
Composer 安装命令:
composer require developit/yii2-persian-slug
包简介
yii2 persian slug
关键字:
README 文档
README
yii2 persian slug
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist developit/yii2-persian-slug "*"
or add
"developit/yii2-persian-slug": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
public function behaviors() { return [ [ 'class' => PesianSluggableBehavior::className(), 'attribute' => 'title', ], ]; }
License
yii2-persian-slug is an open source project created by Ehsan Rezaei(http://www.developit.ir) that is licensed under GPL-3.0.
统计信息
- 总下载量: 294
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2018-01-26