https://github.com/rezaei121/yii2-persian-slug
yii2 persian slug
https://github.com/rezaei121/yii2-persian-slug
arabic arabic-slug persian persian-slug slug yii2 yii2-arabic-slug yii2-persian-slug
Last synced: 5 months ago
JSON representation
yii2 persian slug
- Host: GitHub
- URL: https://github.com/rezaei121/yii2-persian-slug
- Owner: rezaei121
- Created: 2018-01-26T14:28:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-31T17:28:17.000Z (almost 6 years ago)
- Last Synced: 2024-04-25T13:43:02.321Z (12 months ago)
- Topics: arabic, arabic-slug, persian, persian-slug, slug, yii2, yii2-arabic-slug, yii2-persian-slug
- Language: PHP
- Homepage: http://www.developit.ir/
- Size: 23.4 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yii2-persian-slug
=================
yii2 persian slugInstallation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
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 :
```php
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.