PHP code example of mostafamaklad / laravel-arabic-numbers

1. Go to this page and download the library: Download mostafamaklad/laravel-arabic-numbers library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mostafamaklad / laravel-arabic-numbers example snippets


protected $middleware = [
    //...
    \Maklad\ArabicNumbers\Http\Middleware\ArabicNumbers::class,
]

$app->middleware([
    \Maklad\ArabicNumbers\Http\Middleware\ArabicNumbers::class,
]);

    /**
     * The attributes that should not be trimmed.
     *
     * @var array
     */
    protected $except = [
        //
    ];