phpooya/atropat

Persian name translator

v1.0.1 2021-04-03 08:55 UTC

This package is auto-updated.

Last update: 2024-10-29 06:36:33 UTC


README

Attropat is an original persian name. this library is a persian name translator.

installation

composer require phpooya/atropat

usage

use phpooya\atropat\Translator;
use phpooya\atropat\packages\EN;
$t = new Translator(new En);
$t->translate('داریوش'); //dariush

thanks

atropat implements a translating algorithm based on the jahanshiri.ir website.

vowels

contribute

if you want to extend a new language feel free to make a pull request.