# azuyalabs/yasumi

The easy PHP Library for calculating holidays

Repository: https://github.com/azuyalabs/yasumi
Canonical: https://ross.abutalabs.com/products/yasumi
Homepage: https://www.yasumi.dev
Language: PHP
License: MIT
License Family: permissive
Topics: php, holiday, countries, calculate-holidays, calculations, api, library, holidays, provider-holidays, yasumi, calculating-holidays
Last push: 2026-08-30T01:54:51+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 65, longevity 100
- inputs: {"age_days": 4180, "days_push": 4, "days_rel": 156, "gap_med": 67, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1098, forks 169 (observed 2026-09-01T02:13:59.122886+00:00)

## What it is
Yasumi is a PHP library for calculating the dates and names of holidays and special celebrations for many countries and states. It is rule-driven rather than database-driven, provider-based per country, and includes translations and timezone awareness.

## Use cases
- calculate holidays for a country and year in PHP
- check whether a given date is a public holiday
- get localized holiday names in multiple languages
- filter holidays by type such as official, bank, or observed
- add business-day logic that skips national holidays
- extend holiday calculations to a new country or region

## When to choose
- you need holiday data in a PHP 8.2+ project without relying on paid or limited external APIs
- you want a framework-agnostic, lightweight, pure-PHP solution
- you need multi-language holiday names and timezone awareness
- you want to add custom country or regional holiday providers

## When to avoid
- your project runs on PHP below 8.2
- you need real-time holiday data updates from an external service rather than rule-based calculation
- you need holidays for a country not covered by an existing provider and cannot write one

## Facets
- artifact type: library
- maturity: active
- function: date-time, internationalization
- domain: developer-tools, web-development
- platform: php, cross-platform
- tags: holidays, calendar, composer, provider-based, timezone-aware, localization

## Member repositories
- azuyalabs/yasumi (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:13:59.122886+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:46:17.939453+00:00, confidence not recorded.
  - readme: https://github.com/azuyalabs/yasumi (fetched 2026-09-01T02:13:59.122886+00:00, sha 34c0ed29e32d)
  - homepage: https://www.yasumi.dev (fetched 2026-08-29T12:49:26.959855+00:00, sha 3cda80d53646)
  - site_page: https://www.yasumi.dev/getting-started.html (fetched 2026-08-29T12:49:26.970990+00:00, sha 584af3dc7644)
  - site_page: https://www.yasumi.dev/releases/2.11.0.html (fetched 2026-08-29T12:49:26.968866+00:00, sha ad05d48df07b)
  - site_page: https://www.yasumi.dev/releases/index.html (fetched 2026-08-29T12:49:26.972639+00:00, sha 96bf201cac61)
- Data as of 2026-08-30T08:39:29.467469+00:00.
