rekurzia / slovak-holidays
Simple PHP library/helper for getting Slovak holidays
Installs: 2 225
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 3
Forks: 2
Open Issues: 3
Requires
- php: >=5.4.0
Requires (Dev)
- nette/tester: ~1.5.0
This package is not auto-updated.
Last update: 2024-11-09 18:07:40 UTC
README
Slovak Holidays
Simple PHP library/helper for getting Slovak holidays.
Installation
composer require rekurzia/slovak-holidays
Usage
Very easy, static:
\Rekurzia\SlovakHolidays::getHolidays(); // for current year \Rekurzia\SlovakHolidays::getHolidays(2014); // only for year \Rekurzia\SlovakHolidays::getHolidays(2014, 8); // for year and month \Rekurzia\SlovakHolidays::isTodayHoliday(); // date('Y-m-d') \Rekurzia\SlovakHolidays::isDayHoliday(2015, 12, 24);
License
This software is licensed under MIT License.