GeniusTS / laravel-hijri-dates

Hijri dates for Laravel
MIT License
26 stars 12 forks source link
hijri hijri-dates hijri-dates-converter laravel laravel-5-package laravel5

Hijri dates for Laravel

Installation

Composer

    composer require geniusts/laravel-hijri-dates

Service Provider

Add the package to your application service providers in config/app.php file.

    'providers' => [
        ...

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

    ],

Config File

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

Usage

Usage documentation available in hijri-dates repository.

translation

the following function export default translation to resources/lang/vendor/hijri-dates in your application files.

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

License

This package is free software distributed under the terms of the MIT license.