palmabit/holidays
Composer 安装命令:
composer require palmabit/holidays
包简介
holidays
关键字:
README 文档
README
Country holidays days.
NOTE: Only italian holidays days are available for now.
Install
Via Composer
$ composer require palmabit/holidays
Usage
$year = 2025; /* * Current year is set if no argument are passed. */ $holidays = new Palmabit\Holidays\Holidays($year);
or
Palmabit\Holidays\Holidays::setYear($year); $holidays = new Holidays();
then
$holidays = new Palmabit\Holidays\Holidays(2016); /* * return an array of all italian holidays */ $it_holidays = $holidays ->setCountry('it_IT') ->all();
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING for details.
TODO
- Improve coverage
- Add other country holidays days
Security
If you discover any security related issues, please email hello@palmabit.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-19