dev-master
9999999-dev http://albertofem.comJpnForPhp Symfony2 bundle integration
MIT
The Requires
jpnforphp kanji japanese library romaji symfony
JpnForPhp Symfony2 bundle integration
Integrates jpnforphp library with the Symfony2 framework., (*2)
More info: http://mbilbille.github.io/jpnforphp/, (*3)
Require it in composer:, (*4)
composer require albertofem/jpnforphp-bundle dev-master
Install it:, (*5)
composer update albertofem/jpnforphp-bundle
Add it to your bundles:, (*6)
$bundles = array( ..., new AFM\Bundle\JpnForPhpBundle\JpnForPhpBundle() );
This bundle aims to provider commands to access the library:, (*7)
php app/console jpnforphp:analyze:inspect η΄ ζ΄γγγγ§γ
Output:, (*8)
Analyzing: η΄ ζ΄γγγγ§γ Sentence length: 7 Total hiragana: 5 Total katakana: 0 Total Kanji: 2 Total non-japanese characters: 0 Punctuation marks: No
Services are defined to access transliterators:, (*9)
$hepburn = $this->container->get('jpnforphp.transliterator.romaji.hepburn') $hepburn->transliterate('γγΌγγΈ γ§γγγγ¦');
JpnForPhp Symfony2 bundle integration
MIT
jpnforphp kanji japanese library romaji symfony