PHPackages                             devlabor/german-holidays - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. devlabor/german-holidays

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

devlabor/german-holidays
========================

A PHP package to get german holidays from feiertage-api.de

1.1.0(3y ago)0807↓33.3%[2 issues](https://github.com/DevLabor/german-holidays/issues)MITPHPPHP ^7.3 || ^8.0

Since Jun 19Pushed 3y ago4 watchersCompare

[ Source](https://github.com/DevLabor/german-holidays)[ Packagist](https://packagist.org/packages/devlabor/german-holidays)[ Docs](https://github.com/devlabor/german-holidays)[ RSS](/packages/devlabor-german-holidays/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (6)Used By (0)

A PHP package to get german holidays from feiertage-api.de
==========================================================

[](#a-php-package-to-get-german-holidays-from-feiertage-apide)

[![Latest Version on Packagist](https://camo.githubusercontent.com/dfc3df75778b2fa451dfffd4d17bccd3ea073b9bc3f2cb61867f8e7d808e7f7f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465766c61626f722f6765726d616e2d686f6c69646179732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/devlabor/german-holidays)[![GitHub Tests Action Status](https://camo.githubusercontent.com/34218ea9cf3a11790c0190fb31168c5910c888155409d4b54fd7010de60d0ec7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6465766c61626f722f6765726d616e2d686f6c69646179732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/devlabor/german-holidays/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/60b0f607104ecb5bb55827b3417aa5730e3daf869c4e4aae9dac933a4080c587/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6465766c61626f722f6765726d616e2d686f6c69646179732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/devlabor/german-holidays)

This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require devlabor/german-holidays
```

Usage
-----

[](#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
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Kiv4h](https://github.com/Kiv4h)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 70% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~188 days

Total

5

Last Release

1407d ago

PHP version history (2 changes)1.0.0PHP ^7.3

1.1.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ac49f4d8027a3933d11793db700eeef391cfbded9a6ed612778c6fe39fd0ae2?d=identicon)[Kiv4h](/maintainers/Kiv4h)

---

Top Contributors

[![Kiv4h](https://avatars.githubusercontent.com/u/1305053?v=4)](https://github.com/Kiv4h "Kiv4h (7 commits)")[![aaron-p1](https://avatars.githubusercontent.com/u/62202958?v=4)](https://github.com/aaron-p1 "aaron-p1 (3 commits)")

---

Tags

holidaysgermandevlabor

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/devlabor-german-holidays/health.svg)

```
[![Health](https://phpackages.com/badges/devlabor-german-holidays/health.svg)](https://phpackages.com/packages/devlabor-german-holidays)
```

###  Alternatives

[spatie/holidays

Calculate public holidays

392604.1k1](/packages/spatie-holidays)[geoffreyrose/us-holidays

US Holidays Wrapper for the Carbon DateTime Library.

62717.0k2](/packages/geoffreyrose-us-holidays)[holidayapi/holidayapi-php

Official PHP library for Holiday API

35213.3k1](/packages/holidayapi-holidayapi-php)[citco/carbon

This is a wrapper for nesbot/carbon which also calculates which days are British bank holidays (England &amp; Wales only).

17400.1k5](/packages/citco-carbon)[aeon-php/calendar-holidays

Holidays calendar abstraction layer for Aeon Time management framework

14212.4k3](/packages/aeon-php-calendar-holidays)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
