PHPackages                             maidou/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. maidou/holiday

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

maidou/holiday
==============

0.3(4y ago)0801MITPHP

Since Jun 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/youpuyewolong/maidouholiday)[ Packagist](https://packagist.org/packages/maidou/holiday)[ RSS](/packages/maidou-holiday/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (4)Used By (0)

maidouholiday 每年底 更新下一年数据
=========================

[](#maidouholiday--每年底-更新下一年数据)

基本使用

use Maidou\\Holiday\\Holiday;

//某一天是否工作日 $is\_work = Holiday::instance()-&gt;is\_work\_day("2021-05-10"); //日期段内工作日天数 $days = Holiday::instance()-&gt;work\_days\_between("2021-10-01","2021-10-10");

修改readme测试pr ceshi pr2 sync

###  Health Score

23

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~116 days

Total

3

Last Release

1494d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4bcef23aeabb3d44322b1e3c6c90810c9d5919ed652f18f001659c96b29301e?d=identicon)[youpuyewolong](/maintainers/youpuyewolong)

---

Top Contributors

[![youpuyewolong](https://avatars.githubusercontent.com/u/26267750?v=4)](https://github.com/youpuyewolong "youpuyewolong (6 commits)")[![maidou0702](https://avatars.githubusercontent.com/u/99710410?v=4)](https://github.com/maidou0702 "maidou0702 (2 commits)")[![kk1181958464](https://avatars.githubusercontent.com/u/100743718?v=4)](https://github.com/kk1181958464 "kk1181958464 (1 commits)")

### Embed Badge

![Health badge](/badges/maidou-holiday/health.svg)

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

###  Alternatives

[nckg/laravel-minify-html

Minify your responses in Laravel 5.x

1339.0k](/packages/nckg-laravel-minify-html)[highwire/better-dom-document

BetterDOMDocument is a handy PHP utility class for working with XML. It's a wrapper for PHP's built in DOMDocument that provides a bunch of nice shortcuts that makes working with XML in PHP a breeze. It has great built-in support for namespaces, and xpath.

1526.1k](/packages/highwire-better-dom-document)

PHPackages © 2026

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