PHP code example of stonemanhero / cyrlat
1. Go to this page and download the library: Download stonemanhero/cyrlat 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/ */
stonemanhero / cyrlat example snippets
use Stonemanhero\Cyrlat\Translate;
$textCyr = 'Ово је текст на ћирилици.';
$textLat = 'Ovo je tekst na latinici';
print Translate::process($textCyr);
print PHP_EOL;
print Translate::process($textLat, true);