alexeevdv / yii2-sluggable-input-widget
Installs: 9 020
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/speakingurl: ^13.0
- yiisoft/yii2: ^2.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-29 04:04:10 UTC
README
Preferred way to install this extension is via composer:
composer require alexeevdv/yii2-sluggable-input-widget 1.0.0
Usage
<?php use alexeevdv\widget\SluggableInputWidget; // ... echo $form ->field($model, 'title'); echo $form ->field($model, 'slug') ->widget(SluggableInputWidget::className(), [ 'dependsOn' => 'title', ]); // ...