Installation:
composer require arutil/ar-php
A wrapper to the hijri methods in ar-php library.
To use the ArDateTime: check the documentation.
A query builder to search Arabic words by its variations.
To use the ArQuery: check the documentation.
The Original library from http://ar-php.org/
This is the great library of Khaled Al-Shamaa with small bug fixes.
You can use the original ar-php same as the docs at ar-php.org
The only diffirence is the the main class I18N_Arabic
is renamed and namedspaced under ArUtil\I18N\Arabic
<?php
require_once __DIR__ . '/../vendor/autoload.php';
use ArUtil\I18N\Arabic;
$obj = new Arabic('Numbers');
echo $obj->int2str(1975);