PHPackages                             dpeuscher/lib-absence-io - 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. dpeuscher/lib-absence-io

ActiveLibrary

dpeuscher/lib-absence-io
========================

1.0.1(7y ago)02.3k3[21 PRs](https://github.com/dpeuscher/lib-absence-io/pulls)MITPHPPHP ^7.1

Since Jun 30Pushed 4y ago1 watchersCompare

[ Source](https://github.com/dpeuscher/lib-absence-io)[ Packagist](https://packagist.org/packages/dpeuscher/lib-absence-io)[ RSS](/packages/dpeuscher-lib-absence-io/feed)WikiDiscussions master Synced 2d ago

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

[![Build Status](https://camo.githubusercontent.com/c0dab7b9d1196b2ad6db13ed6801dd858a967796258d207a61b66431ba17cd27/68747470733a2f2f7472617669732d63692e6f72672f6470657573636865722f6c69622d616273656e63652d696f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dpeuscher/lib-absence-io) [![codecov](https://camo.githubusercontent.com/0766dfcddd00bfec3cfdffa562472c17760c08cc05557a5ad06c2e3b6152af70/68747470733a2f2f636f6465636f762e696f2f67682f6470657573636865722f6c69622d616273656e63652d696f2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/dpeuscher/lib-absence-io)[![FOSSA Status](https://camo.githubusercontent.com/58a46d4dc046749f769854ef70864a45edaa7bb2a32c0211b864f248f388f0f3/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532466470657573636865722532466c69622d616273656e63652d696f2e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdpeuscher%2Flib-absence-io?ref=badge_shield)

lib-absence-io
==============

[](#lib-absence-io)

A library to identify the team capacity for a certain team size by member

```
$absenceEndPoint = 'https://app.absence.io/api/v2/';
$absenceKey = '012345678901234567890123';
$absenceId = '0123456789012345678901234567890123456789012345678901234567890123';

$absenceService = new AbsenceService($absenceEndPoint, $absenceKey, $absenceId);
$team = ["John Doe", "Johny Doey"];
$from = \DateTime::createFromFormat('Y-m-d', '2018-07-01');
$to = \DateTime::createFromFormat('Y-m-d', '2018-10-01');
var_dump($absenceService->calculateWorkdays($from, $to, 'München', $team));
```

Result looks like this:

> array(2) { 'Johny Doey' =&gt; int(46) 'John Doe' =&gt; int(55) }

License
-------

[](#license)

[![FOSSA Status](https://camo.githubusercontent.com/0ae77abda8821ff68ea50f305a1d393de1efa2a95f39f1be5d45222e2790ab9a/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532466470657573636865722532466c69622d616273656e63652d696f2e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdpeuscher%2Flib-absence-io?ref=badge_large)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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 ~0 days

Total

2

Last Release

2873d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/962f3d9f38b70f4c7d20d9536d5e495b276855977117e27ef7df7fdc8c923f43?d=identicon)[dpeuscher](/maintainers/dpeuscher)

---

Top Contributors

[![dpeuscher](https://avatars.githubusercontent.com/u/2235055?v=4)](https://github.com/dpeuscher "dpeuscher (14 commits)")[![violinist-bot](https://avatars.githubusercontent.com/u/27495990?v=4)](https://github.com/violinist-bot "violinist-bot (11 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dpeuscher-lib-absence-io/health.svg)

```
[![Health](https://phpackages.com/badges/dpeuscher-lib-absence-io/health.svg)](https://phpackages.com/packages/dpeuscher-lib-absence-io)
```

PHPackages © 2026

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