sibds / yii2-synctranslit
Widget for transliteration of text in the URL (on jQuery)
Installs: 194
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-11-03 08:21:18 UTC
README
Widget for transliteration of text in the URL (on JavaScript)
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist sibds/yii2-synctranslit "*"
or add
"sibds/yii2-synctranslit": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?php echo $form->field($model, 'name')->textInput(['maxlength' => true]); echo $form->field($model, 'alias')->widget( \sibds\widgets\translitInput::className(), ['fromField' => 'name'] ); ?>