New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

geniusts/laravel-hijri-dates

Hijri dates package for Laravel
23,076 26
Install
composer require geniusts/laravel-hijri-dates
Latest Version:1.0.5
PHP:>=7
Laravel:5 – 8
License:MIT
Last Updated:Sep 14, 2020
Links: GitHub  ·  Packagist
Maintainer: aboudeh87

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

  • Add new language:

    • create new directory under resources/lang/vendor/hijri-dates in your application files.
    • Add dates.php file under the new directory. it should return array with the same structure of package translation files.
  • change default 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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released PHP Laravel License
1.0.5 >=7 ^5|^6|^7|^8 MIT
1.0.4 >=7 ^5.0|^6.0|^7.0 MIT
1.0.3 >=7 ^5.0|^6.0 MIT
1.0.2 >=7 ^5.0 MIT
1.0.1 >=7 ^5.0 MIT