mohamedsabil83/laravel-hijrian
Larablocks Analysis
mohamedsabil83/laravel-hijrian works with Laravel 10 to 13 (latest release v4.3.0, Mar 21, 2026).
Laravel 5 to 9 in earlier releases.
Recommendation checks
Solid choiceSolid choice: maintained and up to date, meets 2 of 4 checks; below the bar for Recommended on use.
- Works with Laravel 13, the current version
- Released in the last 12 months (Mar 21, 2026)
- 1,334 downloads a month (needs 10,000)
- 13 GitHub stars (needs 100)
State
Maintained- Last stable release: Mar 21, 2026.
- 1 release in the last 12 months.
- First released: Jun 16, 2019.
- Monthly downloads: 1,334.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require mohamedsabil83/laravel-hijrian |
|
| Latest Version: | v4.3.0 |
| PHP: | ^8.1 |
| Laravel: | 10 – 13 |
| Older releases: | 5 – 9 |
| License: | MIT |
| Last Updated: | Jul 21, 2026 |
| Links: | GitHub · Packagist |
Hijri-Gregorian date converter for Laravel
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.
Installation
You can install the package via composer:
composer require mohamedsabil83/laravel-hijrian
Usage
Don't forget to add use Hijrian; at the top of your file.
Get Hijri date
Hijrian::hijri()
Get Gregory date
Hijrian::gregory()
Convert to Hijri
Hijrian::hijri($gregory_date)
Convert to Gregory
Hijrian::gregory($hijri_date)
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Easy and useful tool to generate arabic or hijri date with multi-language suppor...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v4.3.0 | ^8.1 | ^10.0| | MIT | |
| v4.2.0 | ^8.1 | ^10.0| | MIT | |
| v4.1.0 | ^8.1 | ^10.0 | MIT | |
| v4.0.0 | ^8.1 | ^10.0 | MIT | |
| v3.2.0 | ^7.4| | ^5.8| | MIT | |
| v3.1.0 | ^7.4| | ^5.8| | MIT | |
| v3.0.0 | ^7.4| | ^5.8| | MIT | |
| v2.1.2 | ^7.1| | ^5.8| | MIT | |
| v2.1.1 | ^7.1 | ^5.8 || | MIT | |
| v2.1.0 | ^7.1 | ^5.8 || | MIT | |
| v2.0.0 | ^7.1 | ^5.8 || | MIT | |
| v1.1.0 | ^7.1 | ^5.0 || | MIT | |
| v1.0.0 | ^7.1 | ^5.0 | MIT |