powerkernel/yii2-slugify Slugify extension for Yii2

slugify

Yii2 Slugify

Slugify extension for Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist powerkernel/yii2-slugify "*"

or add

"powerkernel/yii2-slugify": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

    <?= $form->field($model, 'slug')->widget(\powerkernel\slugify\Slugify::class,['source'=>'#blog-title']) ?>
    <?= $form->field($model, 'title')->textInput(['maxlength' => true]) ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.0.6 is the latest of 7 releases



BSD-3-Clause license
Stats
4 github stars & 0 github forks
0 downloads in the last day
18 downloads in the last 30 days
2969 total downloads