PHP code example of altynbek07 / qazaq-transliterator
1. Go to this page and download the library: Download altynbek07/qazaq-transliterator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
altynbek07 / qazaq-transliterator example snippets
use Altynbek07\QazaqTransliterator\QazaqTransliterator;
$oldText = 'Қазақстан Республикасы — Шығыс Еуропа мен Орталық Азияда орналасқан мемлекет.';
$newText = QazaqTransliterator::transliterate($oldText);
echo $newText; // Qazaqstan Respublikasy — Şyğys Europa men Ortalyq Aziiada ornalasqan memleket.