A simple PHP API extension that's provide arabic tools for PHP . https://github.com/buzzylab/aip
Note: AIP package is a built on the great library Ar-PHP (v4.0.0) which is developed by Khaled Al-Sham'aa.
- Arabic text auto summarization.
- Advanced Arabic search (stem based).
- Render Arabic text (PDF, GD, SWF).
- Present dates in Arabic or Hijri.
- Convert Hijri date into Unix timestamp.
- Parse Arabic textual datetime into timestamp.
- Transliterate English words in Arabic.
- Transliterate Arabic words in English.
- Spell numbers in Arabic idiom.
- Phonetically alike Arabic words.
- Arabic character set converter.
- Arabic character set auto detection.
- Identify Arabic in multi language documents.
- Identify names & places in Arabic text.
- Guess gender of Arabic names.
- Convert keyboard language programmatically.
- Calculate the time of Muslim prayer.
- Compress string using Huffman-like coding.
- Standardize Arabic text.
- Arabic stemmer.
- Arabic Cities List
- Informations about Arabic countries
- Arabic text normalisation.
- Translate English words into Hieroglyphics.
- Translate English words into Phoenician.
$ composer require buzzylab/aip
Or Add "buzzylab/aip": "~1.0.*"
to composer require
:
{
"require": {
"buzzylab/aip": "~1.0.*"
}
}
<?php
require 'vendor/autoload.php';
use Buzzylab\Aip\Arabic;
$arabic = new Arabic();
After installing the package, open your Laravel config file located at config/app.php
and add the following service provider to the providers
array:
Buzzylab\Aip\Laravel\AipServiceProvider::class
And add the following Facade to the aliases
array
'Arabic' => Buzzylab\Aip\Laravel\Facades\AipFacade::class
Please see CHANGELOG for more information what has changed recently.
For the list of all current and former/closed issues see the github issue list. If you find a problem, please follow the same link and create an new issue, I will look at it and get back to you ASAP.
I would be glad to accept your contributions if you want to participate and share. Just follow GitHub's guide on how to fork a repository. Clone your repository to your machine, make your change then create a pull request after submitting your change to your repository.
It goes without saying that none of this could have been done without the great arphp library, a big thank you goes out to Khaled Al-Sham'aa.
The AIP is open-sourced software licensed under the MIT license.