Download the PHP package alex290/yii2-translit without Composer
On this page you can find all versions of the php package alex290/yii2-translit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download alex290/yii2-translit
More information about alex290/yii2-translit
Files in alex290/yii2-translit
Download alex290/yii2-translit
More information about alex290/yii2-translit
Files in alex290/yii2-translit
Please rate this library. Is it a good library?
Informations about the package yii2-translit
Transliterator Yii2 Cyrillic
Транслитерация Yii2 Русского текста
Установка
Предпочтительным способом установки этого расширения является composer.
Нужно запустить
или добавить
в раздел require вашего composer.json
файла.
Использование
После установки расширения просто используйте его в коде :
<?= \alex290\translit\Translit::widget((['text' => 'Ваш русский текст', 'sufix' => '.html', 'length' => 50])); ?>
где
'text' - Ваш русский текст
'sufix' - Суфикс например .html (Необязательный параметр)
'length' - Длина (количество) символов. Если не указывать то по умалчанию 50
All versions of yii2-translit with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
~2.0.0
The package alex290/yii2-translit contains the following files
Loading the files please wait ....