Toggle navigation
Home
Code Snippets
Plain PHP
Doctrine
Laminas
Laravel
SQL
Symfony
Unittests
Other Libraries
Blog
Slides/Talks
@SenseException
Make languages readable with Transliterator
Code
<?php
$trans
=
Transliterator
::
create
(
'Armenian-Latin'
);
echo
$trans
->
transliterate
(
'Բարեւ Ձեզ'
);
Result
Barew Jez
More Snippets
Text-Encoding with intl UConverter
PHP stack with SplStack
The magic of using traits
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8