Package Data | |
---|---|
Maintainer Username: | aboudeh87 |
Maintainer Contact: | aboudeh1987@gmail.com (Abdul-Kader Zein-Eddin) |
Package Create Date: | 2017-05-05 |
Package Last Update: | 2020-09-14 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-26 15:14:04 |
Package Statistics | |
---|---|
Total Downloads: | 21,463 |
Monthly Downloads: | 61 |
Daily Downloads: | 7 |
Total Stars: | 26 |
Total Watchers: | 2 |
Total Forks: | 12 |
Total Open Issues: | 0 |
composer require geniusts/laravel-hijri-dates
Add the package to your application service providers in config/app.php
file.
'providers' => [
...
/**
* Third Party Service Providers...
*/
GeniusTS\LaravelHijri\HijriDatesServiceProvider::class,
],
php artisan vendor:publish --provider="GeniusTS\LaravelHijri\HijriDatesServiceProvider" --tag=config
Usage documentation available in hijri-dates repository.
Add new language:
resources/lang/vendor/hijri-dates
in your application files.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
This package is free software distributed under the terms of the MIT license.