miso93/czech-holidays

Simple PHP library/helper for getting Czech holidays

Installs: 15 364

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/miso93/czech-holidays

1.0.2 2016-12-07 09:22 UTC

This package is not auto-updated.

Last update: 2025-10-02 01:22:18 UTC


README

Build status

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.