PHPackages                             laravel-enso/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. laravel-enso/holidays

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

laravel-enso/holidays
=====================

Holiday calendar management for Laravel Enso

1.0.4(2mo ago)0131↓57.8%MITPHPPHP &gt;=8.2

Since Jan 15Pushed 2mo agoCompare

[ Source](https://github.com/laravel-enso/holidays)[ Packagist](https://packagist.org/packages/laravel-enso/holidays)[ Docs](https://github.com/laravel-enso/holidays)[ RSS](/packages/laravel-enso-holidays/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (2)Versions (6)Used By (0)

Holidays
========

[](#holidays)

[![License](https://camo.githubusercontent.com/c77739f9b2c7fe9560c3b6a0996d728f9412994cca81d9f2fddb25ca59da1c52/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f686f6c69646179732f6c6963656e7365)](LICENSE)[![Stable](https://camo.githubusercontent.com/676039ed3161a96bb107addc054c6b6d22d7397606a8392a675d129fba98c747/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f686f6c69646179732f76657273696f6e)](https://packagist.org/packages/laravel-enso/holidays)[![Downloads](https://camo.githubusercontent.com/1c35e34cffecfe40c00d85314d7852f974ae4ab29bd6650c7a53da5a11e4a3b5/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f686f6c69646179732f646f776e6c6f616473)](https://packagist.org/packages/laravel-enso/holidays)[![PHP](https://camo.githubusercontent.com/da7cf113b588d26fe679dfefe4a15009272ed358ad4e786ad3c78b45faa61d69/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e322532422d3737376262342e737667)](composer.json)[![Issues](https://camo.githubusercontent.com/87b0d73adfc01ee03decd3c111c0c2afb951139fdb2e3167bb7166e7bd2df58b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6c61726176656c2d656e736f2f686f6c69646179732e737667)](https://github.com/laravel-enso/holidays/issues)[![Merge Requests](https://camo.githubusercontent.com/deef3ae1850bdfb05a2c210765fa24f52a3ea360800e2ef0436b8efead8198ff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f6c61726176656c2d656e736f2f686f6c69646179732e737667)](https://github.com/laravel-enso/holidays/pulls)

Description
-----------

[](#description)

Holidays manages annual holiday calendars and working-day overrides for Laravel Enso.

The package exposes endpoints for listing available years, showing all holidays for a selected year, and toggling individual days between holiday and working-day status.

It is a small administrative package intended to support date-aware business rules in Enso applications.

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

[](#installation)

Install the package:

```
composer require laravel-enso/holidays
```

Run the package migrations:

```
php artisan migrate
```

Features
--------

[](#features)

- Year index endpoint for available holiday calendars.
- Holiday list endpoint grouped by year.
- Toggle endpoint for marking a holiday as a working day or restoring it.
- API resources for normalized year and holiday payloads.

Usage
-----

[](#usage)

The package mounts its routes under `holidays.*`.

Each holiday resource exposes:

- formatted `date`
- numeric `month`
- `name`
- `description`
- `isWorkingDay`

API
---

[](#api)

### HTTP routes

[](#http-routes)

- `GET api/holidays`
- `GET api/holidays/{year}`
- `PATCH api/holidays/{holiday}/toggle`

### Models

[](#models)

- `LaravelEnso\\Holidays\\Models\\Holiday`
- `LaravelEnso\\Holidays\\Models\\HolidayYear`

Depends On
----------

[](#depends-on)

The package does not require additional Enso backend packages beyond the host Laravel application.

Companion frontend package:

- [`@enso-ui/holidays`](https://docs.laravel-enso.com/frontend/holidays.html) [↗](https://github.com/enso-ui/holidays)

Contributions
-------------

[](#contributions)

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance86

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

Total

5

Last Release

66d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16073274?v=4)[Adrian Ocneanu](/maintainers/aocneanu)[@aocneanu](https://github.com/aocneanu)

---

Top Contributors

[![aocneanu](https://avatars.githubusercontent.com/u/16073274?v=4)](https://github.com/aocneanu "aocneanu (6 commits)")[![tedipop16](https://avatars.githubusercontent.com/u/71398467?v=4)](https://github.com/tedipop16 "tedipop16 (1 commits)")[![vmcvlad](https://avatars.githubusercontent.com/u/37445394?v=4)](https://github.com/vmcvlad "vmcvlad (1 commits)")

---

Tags

calendarholidayslaravel-ensoworking days

### Embed Badge

![Health badge](/badges/laravel-enso-holidays/health.svg)

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

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

592.7k2](/packages/crumbls-layup)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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