miso93 / czech-holidays
Simple PHP library/helper for getting Czech holidays
Installs: 15 329
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-09-18 19:59:26 UTC
README
Czech Holidays
Simple PHP library/helper for getting Czech holidays.
This project is simple refactor of Slovak Holidays
Installation
composer require miso93/czech-holidays
Usage
Very easy, static:
\Miso93\CzechHolidays::getHolidays(); // for current year \Miso93\CzechHolidays::getHolidays(2014); // only for year \Miso93\CzechHolidays::getHolidays(2014, 8); // for year and month \Miso93\CzechHolidays::isTodayHoliday(); // date('Y-m-d') \Miso93\CzechHolidays::isDayHoliday(2015, 12, 24);
License
This software is licensed under MIT License.