dev-master
9999999-devText Helpers
MIT
The Requires
by Dmitriy Kulinich
extension yii2 texthelpers
Text Helpers
Text Helpers, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist dkulinich/yii2-texthelpers "*"
or add, (*4)
"dkulinich/yii2-texthelpers": "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 use dkulinich\texthelpers\ExtCoreTextHelper;, (*7)
// Cut string at words = ExtCoreTextHelper::cutTextAtWords($text, $max_length = NULL); ?> // Transliterate string = ExtCoreTextHelper::transliterate_cyr($text, $replaceWhitespaces = '_', $acceptedSymbols = '0-9a-zA-Z_'); ?>, (*8)
Text Helpers
MIT
extension yii2 texthelpers