arutil/ar-php

Arabic php utilities from Khaled Al-Sham'aa's library http://ar-php.org/

0.1.1 2017-07-16 11:04 UTC

This package is auto-updated.

Last update: 2024-10-26 17:19:07 UTC


README

Build Status Total Downloads

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);