devlabor / german-holidays
A PHP package to get german holidays from feiertage-api.de
1.1.0
2022-07-11 16:50 UTC
Requires
- php: ^7.3 || ^8.0
- ext-json: *
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- ext-calendar: *
- friendsofphp/php-cs-fixer: ^3.0
- phpunit/phpunit: ^9.0
- vimeo/psalm: ^4.0
README
This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require devlabor/german-holidays
Usage
use DevLabor\GermanHolidays\Holidays; $holidays = Holidays::get(); $holidays = Holidays::get(2021, Holidays::STATE_SAXONY_ANHALT); $federalKey = Holidays::resolveFederalStateName('Sachsen-Anhalt'); // returns ST $holidays = Holidays::get(null, $federalKey);
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email reichardt@devlabor.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.