geezify / geezify-php
A library to convert ascii number like '3456' to geez number '፴፬፻፶፮' and vise versa.
Installs: 7 235
Dependents: 1
Suggesters: 0
Security: 0
Stars: 8
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=5.6|7.*
Requires (Dev)
- phpunit/phpunit: ^5.0
Provides
- andegna/geezify: v1.2.0
Replaces
- andegna/geezify: v1.2.0
This package is auto-updated.
Last update: 2024-10-28 18:42:47 UTC
README
This package is a library to convert ascii number like '3456' to geez number '፴፬፻፶፮' and vise versa.
Ge'ez (ግዕዝ) is an ancient South Semitic language that originated in Eritrea and the northern region of Ethiopia in the Horn of Africa. It later became the official language of the Kingdom of Aksum and Ethiopian imperial court.
click here to read more.
Prerequisites
geezify
requires PHP 5.6 or greater.
Installation
composer require geezify/geezify-php
If you never used
composer
before, please check out this link before you write any PHP code again!
Usage
<?php require 'vendor/autoload.php'; use Geezify\Geezify; $geez = Geezify::create(); echo $geez->toGeez(123) . PHP_EOL; // ፻፳፫ echo $geez->toGeez(1234) . PHP_EOL; // ፲፪፻፴፬ echo $geez->toGeez(1986) . PHP_EOL; // ፲፱፻፹፮ echo $geez->toGeez(1000000) . PHP_EOL; // ፻፼ // or you can even do the reverse echo $geez->toAscii('፻፳፫') . PHP_EOL; // 123 echo $geez->toAscii('፲፪፻፴፬') . PHP_EOL; // 1234 echo $geez->toAscii('፲፱፻፹፮') . PHP_EOL; // 1986 echo $geez->toAscii('፻፼') . PHP_EOL; // 1000000
License
Geezify is released under the MIT Licence. See the bundled LICENSE file for details.