Download the PHP package alkoumi/laravel-arabic-numbers without Composer

On this page you can find all versions of the php package alkoumi/laravel-arabic-numbers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-arabic-numbers

Laravel Arabic Numbers

Laravel package to handel ANY THING about our Amazing 💝 Arabic Numbers Functions { كل ما يهم محبي لارافيل واستخدام الأرقام العربية مثل تفقيط الأرقام والمبالغ المالية والعكس و عرض الأرقام بالعربية والعكس }

Packagist License Packagist Version GitHub release (latest by date) Packagist Stars

كل ما يهم محبي لارافيل واستخدام الأرقام العربية مثل تفقيط الأرقام والمبالغ المالية والعكس و عرض الأرقام بالعربية والعكس

Installation for all Laravel Versions 🥳

1- You can install the package via composer:

composer require alkoumi/laravel-arabic-numbers

2- You must register the service provider in your config/app.php file:

'providers' => [
    // ...
    Alkoumi\LaravelArabicNumbers\LaravelArabicNumbersServiceProvider::class,
];

3- You must register the Middleware in your App\Http\Kernel file:

protected $middleware = [
    // ...
    Alkoumi\LaravelArabicNumbers\Http\Middleware\ConvertArabicDigitsToEnlishMiddleware::class
];

Now any request have arabic indic [١،٢،٣،٤،٥،٦،٧،٨،٩،٠] Numbers will Translated 🥳 to [1,2,3,4,5,6,7,8,9,0]

Excepting Fields

If you want to except any field from transforming request, Just add the fields you want to except them in the Middleware ConvertArabicDigitsToEnlishMiddleware::class :

        /**
         * The fields that should not be Transformed.
         *
         * @var array
         */
        protected $except = [
            'password', 'password_confirmation' ,'numbers','count'
        ];

Usage

تفقيط المبالغ المالية باللغة العربية الفصحى مثل 123 => { مئة و ثلاثة و عشرون ريالًا فقط لا غير }

You can simply get Tafqeet of The int Money amount directly in Arabic idioms

تفقيط الأرقام باللغة العربية الفصحى مثل 64 => { أربعة و ستون }

You can simply get Tafqeet of The int Value directly in Arabic idioms

إستخراج الأرقام من التفقيط باللغة العربية للأرقام وليس للمبالغ 😉 مثل { أربعة و ستون } => 64

You can simply Reverse Tafqeet in Arabic idioms to The int Number directly

عرض الأرقام العربية بدل الأرقام الإنجليزية والعكس حسب رغبة المستخدم 657 => ٦٥٧

You can simply Show Any Value in Arabic Digits Or English Digits

Give Me 💗 Cup of ☕️ Coffee here https://patreon.com/mohammadelkoumi


All versions of laravel-arabic-numbers with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package alkoumi/laravel-arabic-numbers contains the following files

Loading the files please wait ....