2017 © Pedro Peláez
 

yii2-extension yii2-transliterator-helper

Transliterator Helper for Yii2.

image

mirkhamidov/yii2-transliterator-helper

Transliterator Helper for Yii2.

  • Tuesday, March 7, 2017
  • by miroff
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

TransliteratorHelper for Yii 2

Extended from https://github.com/2amigos/yii2-transliterator-helper, (*1)

TransliteratorHelper transliterates UTF-8 encoded text to US-ASCII., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require "mirkhamidov/yii2-transliterator-helper": "*"

or add, (*5)

"mirkhamidov/yii2-transliterator-helper": "*"

to the require section of your application's composer.json file., (*6)

Usage

Pass to the method process() the UTF-8 encoded string you wish to transliterate:, (*7)

use mirkhamidov\transliterator\TransliteratorHelper;

// will echo AAAAAAAECEEEEIIIIDNOOOOOUUUUYssaaaaaaaeceeeeiiiidnooooouuuuyy
TransliteratorHelper::process('ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöùúûüýÿ', '', 'en'));

The Versions

07/03 2017

dev-master

9999999-dev

Transliterator Helper for Yii2.

  Sources   Download

MIT

The Requires

 

by Jasur Mirkhamidov

extension helper yii transliterator