dev-master
9999999-devGenerate auto slug text from any input using model input or just Html id attribute
BSD-3-Clause
The Requires
by muhammad wardany
extension yii2 jquery widget slugify slug input javascript
Generate auto slug text from any input using model input or just Html id attribute
Generate auto slug text from any input using model input or just Html id attribute, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist wardany/yii-slug-input:dev-master
or add, (*4)
"wardany/yii-slug-input": "dev-master"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
php
<?= $form->field($model, 'slug')->widget(Slugify::className(),['source_attribute'=>'title', 'separator'=>'_', 'disable'=> true]) ?>
, (*7)
Generate auto slug text from any input using model input or just Html id attribute
BSD-3-Clause
extension yii2 jquery widget slugify slug input javascript