mohamedsabil83/laravel-hijrian
最新稳定版本:v4.2.0
Composer 安装命令:
composer require mohamedsabil83/laravel-hijrian
包简介
Hijri-Gregorian date converter for Laravel
README 文档
README
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.
统计信息
- 总下载量: 18.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-16