PHPackages                             designmynight/uk-public-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. designmynight/uk-public-holidays

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

designmynight/uk-public-holidays
================================

PHP package to easily determine whether a given date is a public holiday in the UK

v1.1.0(8y ago)35MITPHPPHP &gt;=7.1

Since Apr 6Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/designmynight/uk-public-holidays)[ Packagist](https://packagist.org/packages/designmynight/uk-public-holidays)[ Docs](https://github.com/designmynight/laravel-elasticsearch)[ RSS](/packages/designmynight-uk-public-holidays/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (10)Used By (0)

UK Public Holidays
==================

[](#uk-public-holidays)

PHP package to determine whether a given date is a public holiday in the UK.

Public holiday data is from [gov.uk](https://www.gov.uk/bank-holidays.json)

Example
-------

[](#example)

```
Date::isFirstWorkingDayOfTheMonth(Carbon::today());
Date::isHoliday(Carbon::today());
Date::isWorkingDay(Carbon::today())
Date::nextWorkingDay();
Date::previousWorkingDay();
```

Regions
-------

[](#regions)

The default region is 'England and Wales'. To change it use `PublicHolidays::setRegion()`:

```
PublicHolidays::setRegion('scotland');
PublicHolidays::setRegion('northern-ireland');
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance58

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~723 days

Total

6

Last Release

62d ago

Major Versions

0.1.0 → v1.1.02018-04-11

PHP version history (3 changes)v1.0.0PHP &gt;=7.1

0.1.1PHP &gt;=5.6.31

0.1.3PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6871504?v=4)[Dan](/maintainers/danjohnson95)[@danjohnson95](https://github.com/danjohnson95)

![](https://avatars.githubusercontent.com/u/12199424?v=4)[Steve Porter](/maintainers/StevePorter92)[@StevePorter92](https://github.com/StevePorter92)

![](https://avatars.githubusercontent.com/u/465569?v=4)[Will Taylor-Jackson](/maintainers/willtj)[@willtj](https://github.com/willtj)

![](https://avatars.githubusercontent.com/u/9197954?v=4)[James](/maintainers/jmosul)[@jmosul](https://github.com/jmosul)

![](https://avatars.githubusercontent.com/u/1786811?v=4)[Ally](/maintainers/alasdairmackenzie)[@alasdairmackenzie](https://github.com/alasdairmackenzie)

---

Top Contributors

[![robbytaylor](https://avatars.githubusercontent.com/u/2005679?v=4)](https://github.com/robbytaylor "robbytaylor (4 commits)")[![jmosul](https://avatars.githubusercontent.com/u/9197954?v=4)](https://github.com/jmosul "jmosul (3 commits)")[![devin-ai-integration[bot]](https://avatars.githubusercontent.com/in/811515?v=4)](https://github.com/devin-ai-integration[bot] "devin-ai-integration[bot] (1 commits)")[![RobJenkinson](https://avatars.githubusercontent.com/u/15452139?v=4)](https://github.com/RobJenkinson "RobJenkinson (1 commits)")

---

Tags

sharedphpholidayspublicuk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/designmynight-uk-public-holidays/health.svg)

```
[![Health](https://phpackages.com/badges/designmynight-uk-public-holidays/health.svg)](https://phpackages.com/packages/designmynight-uk-public-holidays)
```

###  Alternatives

[geoffreyrose/us-holidays

US Holidays Wrapper for the Carbon DateTime Library.

62717.0k2](/packages/geoffreyrose-us-holidays)

PHPackages © 2026

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