PHPackages                             pmdevelopment/german-holiday-bundle - 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. pmdevelopment/german-holiday-bundle

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

pmdevelopment/german-holiday-bundle
===================================

German Holidays

v1.2.1(6mo ago)03.7k2MITPHPPHP ^8.2CI failing

Since Oct 8Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/pmdevelopment/german-holiday-bundle)[ Packagist](https://packagist.org/packages/pmdevelopment/german-holiday-bundle)[ RSS](/packages/pmdevelopment-german-holiday-bundle/feed)WikiDiscussions master Synced 2w ago

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

german-holiday-bundle
=====================

[](#german-holiday-bundle)

Get german legal holidays as symfony2 bundle.

\--

Deutsche gesetzliche Feiertage für Symfony2 als Bundle.

Setup
-----

[](#setup)

Add to `AppKernel`

```
new PM\Bundle\GermanHolidayBundle\PMGermanHolidayBundle(),

```

Warnings
--------

[](#warnings)

German holidays are a mess. Corpus christi is city based in Saxony and Thuringia, Assumption day in Bavaria. Those holidays are ignored for those states. Also you should always use the real year you are looking for, because in 2017 reformation day is country wide, so in this year the holidays are different.

Usage
-----

[](#usage)

### Forms

[](#forms)

Your Users probably need the state connection.

```
->add('state', ChoiceType::class, [
    'label'                     => 'label.state',
    'choices_as_values'         => true,
    'choice_translation_domain' => 'PMGermanHolidayBundle',
    'choices'                   => States::getAll(),
    'required'                  => false,
    'preferred_choices'         => [
        States::HESSE,
    ],
    'placeholder'               => 'help.empty',
])

```

### Get All

[](#get-all)

You can get all holidays by year. De result uses the `Holiday` object.

```
$holidays = $this->getContainer()->get('pm_german_holiday.services.holiday_service')->getAll($year);

```

### More Stuff

[](#more-stuff)

The services uses some helper you can also use to get holidays by state or all holidays for one state.

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance67

Regular maintenance activity

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity79

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 ~748 days

Total

5

Last Release

195d ago

PHP version history (2 changes)1.0.0PHP ^5.5.0|^7.0.19

v1.2.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4947485?v=4)[Sven](/maintainers/pmdevelopment)[@pmdevelopment](https://github.com/pmdevelopment)

---

Top Contributors

[![pmdevelopment](https://avatars.githubusercontent.com/u/4947485?v=4)](https://github.com/pmdevelopment "pmdevelopment (14 commits)")[![mklewitz](https://avatars.githubusercontent.com/u/60610432?v=4)](https://github.com/mklewitz "mklewitz (6 commits)")

### Embed Badge

![Health badge](/badges/pmdevelopment-german-holiday-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pmdevelopment-german-holiday-bundle/health.svg)](https://phpackages.com/packages/pmdevelopment-german-holiday-bundle)
```

PHPackages © 2026

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