承接 opencal/holidays 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

opencal/holidays

最新稳定版本:1.0.1

Composer 安装命令:

composer require opencal/holidays

包简介

Holidays of 100+ countries in a PHP composer package.

README 文档

README

This PHP package contains the holidays of 100+ countries for the next 5 years (including 2025).

Installation

composer require opencal/holidays

Usage

Check if a country is supported:

<?php

$countries = (new \OpenCal\Holidays\Data\Countries())->getAll();

$exists = isset($countries['DE']) // requires a alpha-2 country code.

Get the holidays of a specific country:

<?php

$holidays = (new \OpenCal\Holidays\Data\Holidays())->getAll();

$holidays2025 = $holidays['DE'][2025];

Contribute

See contribution guide.

统计信息

  • 总下载量: 897
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-01