PHP code example of batrox / laravel-hijri-dates

1. Go to this page and download the library: Download batrox/laravel-hijri-dates 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/ */

    

batrox / laravel-hijri-dates example snippets


    'providers' => [
        ...

        /**
         * Third Party Service Providers...
         */
        GeniusTS\LaravelHijri\HijriDatesServiceProvider::class,

    ],

    php artisan vendor:publish --provider="GeniusTS\LaravelHijri\HijriDatesServiceProvider" --tag=config

    php artisan vendor:publish --provider="GeniusTS\LaravelHijri\HijriDatesServiceProvider" --tag=translation