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

ActiveLibrary

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

German Holidays

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

Since Oct 8Pushed 4mo 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 2d 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

49

—

FairBetter than 95% of packages

Maintenance74

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

147d ago

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

v1.2.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dd56506781ea456f9f07c468f15af9a35c595fb1263c776c024c142f4b7f712?d=identicon)[pmdevelopment](/maintainers/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)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[shopware/storefront

Storefront for Shopware

684.2M148](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[sulu/article-bundle

Bundle for managing localized content-rich entities like blog-posts in the Sulu content management system

66409.6k2](/packages/sulu-article-bundle)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)

PHPackages © 2026

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