PHPackages                             natitech/businesscal - 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. natitech/businesscal

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

natitech/businesscal
====================

PHP standalone library to manipulate business days

7.0.0(2y ago)1679MITPHPPHP ^8.1CI failing

Since Feb 3Pushed 1mo agoCompare

[ Source](https://github.com/natitech/businesscal)[ Packagist](https://packagist.org/packages/natitech/businesscal)[ RSS](/packages/natitech-businesscal/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (2)Versions (11)Used By (0)

Businesscal
-----------

[](#businesscal)

[![Build Status](https://camo.githubusercontent.com/0df9d26217ff902dcd5a206bdbf41ae5550099d1f4cec37633915b2cbf2217e5/68747470733a2f2f7472617669732d63692e6f72672f6e617469746563682f627573696e65737363616c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/natitech/businesscal)[![Latest Stable Version](https://camo.githubusercontent.com/d0523d34ff58ac16f5cdef5398cfb41edbda3611038e3b8e0d7d02aa8dc1db90/68747470733a2f2f706f7365722e707567782e6f72672f6e617469746563682f627573696e65737363616c2f762f737461626c65)](https://packagist.org/packages/businesscal)[![License](https://camo.githubusercontent.com/255d378b5b6078258faa0fb227b2cec5da4c5bbb4e406f8a817459a03246354b/68747470733a2f2f706f7365722e707567782e6f72672f6e617469746563682f627573696e65737363616c2f6c6963656e7365)](https://packagist.org/packages/natitech/businesscal)

PHP standalone library to manipulate business days

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

[](#installation)

```
composer require nati/businesscal

```

Version 6.x is compatible with PHP 7.4 and PHP 8.0 but is not maintained anymore. Version 7.x is compatible with PHP 8.1+ and is the current maintained version.

Usage
-----

[](#usage)

```
//You can pick up a holiday calendar from Nati\Businesscal\Holidays namespace or create your own implementing Nati\Businesscal\Holidays\HolidaysCalendar
$calendar = new Nati\Businesscal\BusinessCalendar(new FrHolidaysCalendar);

//To know if a given date is a business day
$calendar->isBusinessDay(new \DateTimeImmutable());

//To add some business days to a given date
$calendar->addNbBusinessDaysTo(new \DateTimeImmutable(), 20);
```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance59

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity78

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

Recently: every ~406 days

Total

10

Last Release

1044d ago

Major Versions

2.0.0 → 3.0.02018-04-17

3.0.0 → 4.0.02018-09-14

4.0.0 → 5.0.02019-01-24

5.1.0 → 6.0.02021-04-01

6.2.0 → 7.0.02023-07-06

PHP version history (5 changes)1.0.0PHP ^5.6 || ^7.0

3.0.0PHP ^7.1

5.0.0PHP ^7.3

6.0.0PHP ^7.4|^8.0

7.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46979928?v=4)[Antoine ROLLAND](/maintainers/natitech)[@natitech](https://github.com/natitech)

---

Top Contributors

[![natitech](https://avatars.githubusercontent.com/u/46979928?v=4)](https://github.com/natitech "natitech (1 commits)")

---

Tags

calendarphpphp-standalone-library

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/natitech-businesscal/health.svg)

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

###  Alternatives

[webbingbrasil/filament-jetstream-theme

A custom theme for Filament inspired in Laravel Jetstream.

221.4k](/packages/webbingbrasil-filament-jetstream-theme)

PHPackages © 2026

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