Skip to content
/ aip Public

A simple PHP API extension that provides Arabic tools for PHP

Notifications You must be signed in to change notification settings

buzzylab/aip

Repository files navigation

Arabic in PHP (AIP)

Latest Stable Version Total Downloads Latest Unstable Version License StyleCI

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.

Contents

Features

Installation

With Composer

$ composer require buzzylab/aip

Or Add "buzzylab/aip": "~1.0.*" to composer require :

{
    "require": {
        "buzzylab/aip": "~1.0.*"
    }
}

Native Integration

<?php
require 'vendor/autoload.php';

use Buzzylab\Aip\Arabic;

$arabic = new Arabic();

Laravel Integration

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 

Change log

Please see CHANGELOG for more information what has changed recently.

Issues

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.

Contributing

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.

Credits & inspirations

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.

License

The AIP is open-sourced software licensed under the MIT license.