PHPackages                             printerous/business-day - 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. printerous/business-day

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

printerous/business-day
=======================

Business day calculation

1.0.3(8y ago)22.0k1[1 issues](https://github.com/printerous/business-day/issues)[1 PRs](https://github.com/printerous/business-day/pulls)MITPHPPHP &gt;=5.6

Since Jun 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/printerous/business-day)[ Packagist](https://packagist.org/packages/printerous/business-day)[ RSS](/packages/printerous-business-day/feed)WikiDiscussions master Synced 2w ago

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

Business Day
============

[](#business-day)

Date calculation based on business calendars

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

[](#installation)

```
$ composer require printerous/business-day
```

Usage
-----

[](#usage)

```
$business = new BusinessDay(new Config());
$today = new DateTime('2017-06-08');
$business->next($today); // '2017-06-09'
$business->next($today, 2); // '2017-06-12'

//Set holidays
$holidays = [
    new DateTime('2017-06-13'),
    new DateTime('2017-06-14')
];
$business = new BusinessDay(new Config($holidays));
$today = new DateTime('2017-06-13');
$business->next($today); // '2017-06-15'
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~36 days

Total

4

Last Release

3199d ago

### Community

Maintainers

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

---

Top Contributors

[![handiwiguna](https://avatars.githubusercontent.com/u/369534?v=4)](https://github.com/handiwiguna "handiwiguna (5 commits)")

---

Tags

Business Day

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/printerous-business-day/health.svg)

```
[![Health](https://phpackages.com/badges/printerous-business-day/health.svg)](https://phpackages.com/packages/printerous-business-day)
```

###  Alternatives

[illuminate/support

The Illuminate Support package.

582110.9M40.0k](/packages/illuminate-support)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

292943.4k27](/packages/craftcms-feed-me)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k16](/packages/solspace-craft-freeform)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40140.4k2](/packages/erlandmuchasaj-laravel-gzip)[japanese-date/japanese-date

日本の暦、祝日を取り扱うライブラリ

169.9k](/packages/japanese-date-japanese-date)[rovangju/carbon-nbd

Carbon DateTime extension to calculate the "next business day"

2125.5k](/packages/rovangju-carbon-nbd)

PHPackages © 2026

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