2017 © Pedro Peláez
 

yii-extension transliterator-helper

Transliterator Helper for Yii 1.*.

image

2amigos/transliterator-helper

Transliterator Helper for Yii 1.*.

  • Wednesday, January 8, 2014
  • by tonydspaniard
  • Repository
  • 4 Watchers
  • 5 Stars
  • 6,917 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

TransliteratorHelper for Yii 1

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

Installation

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

If you are looking for Yii 2.* version please check its own repository, (*3)

Either run, (*4)

php composer.phar require 2amigos/transliterator-helper "1.0.*"

or add, (*5)

"2amigos/transliterator-helper": "1.0.*"

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 dosamigos\yii\helpers\TransliteratorHelper;

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

2amigOS!
web development has never been so fun
www.2amigos.us, (*8)

The Versions

08/01 2014

dev-master

9999999-dev

Transliterator Helper for Yii 1.*.

  Sources   Download

BSD-3-Clause

helper yii