PHPackages                             altruja/workday - 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. altruja/workday

ActiveLibrary

altruja/workday
===============

0.1.1(12y ago)18531PHPPHP &gt;=5.3.0

Since Mar 20Pushed 12y ago2 watchersCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

Workday
=======

[](#workday)

A simple tool to find the next work day.

Usage:

```
$dayToCheck = new DateTime();

$workday = new \Altruja\Workday($dayToCheck);
$workday->next();

$nextWorkDay = $workday->date;

```

Different region (Germany is default)

```
$workday = new \Altruja\Workday($dayToCheck, 'Bavaria');

```

Include legal workdays commonly considered holidays

```
$workday = new \Altruja\Workday($dayToCheck, 'Bavaria', false);

```

Three workdays after the next workday

```
$workday = new \Altruja\Workday($dayToCheck);

$workday->next(3);

$thirdWorkDay = $workday->date;

```

Note: If the supplied day already is a work day, that day is considered the next work day.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Total

2

Last Release

4438d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/altruja-workday/health.svg)

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

PHPackages © 2026

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