arutil / ar-php
Arabic php utilities from Khaled Al-Sham'aa's library http://ar-php.org/
Installs: 33 189
Dependents: 0
Suggesters: 0
Security: 0
Stars: 15
Watchers: 2
Forks: 5
Open Issues: 16
Requires
- php: >=5.6.0
- nesbot/carbon: ^1.22
Requires (Dev)
- illuminate/support: ^5.4
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-11-26 17:28:14 UTC
README
ArUtil
Arabic PHP Utilities
Installation:
composer require arutil/ar-php
ArDateTime
A wrapper to the hijri methods in ar-php library.
To use the ArDateTime: check the documentation.
ArQuery
A query builder to search Arabic words by its variations.
To use the ArQuery: check the documentation.
Ar-php
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 namespaced under ArUtil\I18N\Arabic
<?php
require_once __DIR__ . '/../vendor/autoload.php';
use ArUtil\I18N\Arabic;
$obj = new Arabic('Numbers');
echo $obj->int2str(1975);