PHPackages                             dagweb/php-public-holiday - 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. dagweb/php-public-holiday

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

dagweb/php-public-holiday
=========================

Tool for calculate public holiday dates

v1.2.0(8mo ago)03GPL-3.0-onlyPHPPHP &gt;=8.3

Since Aug 18Pushed 8mo agoCompare

[ Source](https://github.com/Dagweb/php-public-holiday)[ Packagist](https://packagist.org/packages/dagweb/php-public-holiday)[ RSS](/packages/dagweb-php-public-holiday/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

php-public-holiday
==================

[](#php-public-holiday)

PHP-public-holiday is a PHP package that give you enums to retrieve public holidays dates.

Supported countries:

CountryEnumListed public holidays (Official Name used By Country)France`\Dagweb\PhpPublicHoliday\France\PublicHolidays`- Jour de l'an
- Lundi de Pâques
- Fête du travail
- Victoire 1945
- Ascension
- Lundi de Pentecôte
- Fête Nationale
- Assomption
- Toussaint
- Armistice 1918
- Jour de NoëlMonaco`\Dagweb\PhpPublicHoliday\Monaco\PublicHolidays`- Jour de l'an
- Sainte Dévote
- Lundi de Pâques
- 1er Mai
- Ascension
- Lundi de Pentecôte
- La Fête Dieu
- Assomption
- Toussaint
- La Fête du Prince
- L'immaculée Conception
- Jour de Noël### Usage

[](#usage)

Import Enum class and use it.

To get the spécific date, use the `getDate(self $case, ?int $year = null): \DateTimeImmutable` method of the Enum.

To get the list of all dates, use the `getPublicHolidays(?int $year = null): array` method of the Enum.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance58

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~1 days

Total

4

Last Release

269d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5444d0e959f68fcbb44ffff4cc1e943effbbde3ebecbbdad56f8a362b7bbd991?d=identicon)[Dagweb](/maintainers/Dagweb)

---

Top Contributors

[![npiaud-matawan](https://avatars.githubusercontent.com/u/271254495?v=4)](https://github.com/npiaud-matawan "npiaud-matawan (6 commits)")[![Dagweb](https://avatars.githubusercontent.com/u/57671415?v=4)](https://github.com/Dagweb "Dagweb (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dagweb-php-public-holiday/health.svg)

```
[![Health](https://phpackages.com/badges/dagweb-php-public-holiday/health.svg)](https://phpackages.com/packages/dagweb-php-public-holiday)
```

###  Alternatives

[cretueusebiu/laravel-vue-spa

A Laravel-Vue SPA starter project template.

3.0k18.8k](/packages/cretueusebiu-laravel-vue-spa)[michaldudek/subdomain-blacklist

Common words that your users shouldn't use when setting up accounts.

2816.0k](/packages/michaldudek-subdomain-blacklist)[ipub/gravatar

Gravatar creator for Nette Framework

122.0k1](/packages/ipub-gravatar)

PHPackages © 2026

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