Hijri-Gregorian date converter for Laravel
mohamedsabil83/laravel-hijrian is a Laravel package for hijri-gregorian date converter for laravel.
It currently has 13 GitHub stars and 22.339 downloads on Packagist (latest version v4.3.0).
Install it with composer require mohamedsabil83/laravel-hijrian.
Discover more Laravel packages by mohamedsabil83
or browse all Laravel packages to compare alternatives.
Last updated
This is a Hijri-Gregory date converter for Laravel 5.8+. It's return a date instance of carbon, so, you can make any process related to it.
You can install the package via composer:
composer require mohamedsabil83/laravel-hijrian
Don't forget to add use Hijrian; at the top of your file.
Hijrian::hijri()
Hijrian::gregory()
Hijrian::hijri($gregory_date)
Hijrian::gregory($hijri_date)
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.