PHPackages                             thewilkybarkid/temporal-collections - 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. thewilkybarkid/temporal-collections

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

thewilkybarkid/temporal-collections
===================================

Temporal collections library

2381PHP

Since Apr 1Pushed 12y ago1 watchersCompare

[ Source](https://github.com/thewilkybarkid/temporal-collections)[ Packagist](https://packagist.org/packages/thewilkybarkid/temporal-collections)[ RSS](/packages/thewilkybarkid-temporal-collections/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Temporal collections
====================

[](#temporal-collections)

[![Build Status](https://camo.githubusercontent.com/431a8c64348b5d58a878c353c6f0d1b30112049096e05a581dea998e8ddc59d9/68747470733a2f2f7472617669732d63692e6f72672f74686577696c6b796261726b69642f74656d706f72616c2d636f6c6c656374696f6e732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/thewilkybarkid/temporal-collections)

This library provides temporal collection classes, which can be used to easily implement [temporal properties](http://martinfowler.com/eaaDev/TemporalProperty.html).

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

[](#installation)

Use Composer to add the library to your dependencies:

```
$ php composer.phar require thewilkybarkid/temporal-collections:~1.0@dev

```

Usage
-----

[](#usage)

```
$collection = new \TheWilkyBarKid\TemporalCollections\OpenEndedTemporalCollection();

$collection->get('1950-01-01'); // returns null
$collection->get('1975-01-01'); // returns null
$collection->get('2000-01-01'); // returns null

$collection->set('foo', '1975-01-01', '1999-12-31');

$collection->get('1950-01-01'); // returns null
$collection->get('1975-01-01'); // returns 'foo'
$collection->get('2000-01-01'); // returns null

$collection->set('bar', '1990-01-01', null);

$collection->get('1950-01-01'); // returns null
$collection->get('1975-01-01'); // returns 'foo'
$collection->get('2000-01-01'); // returns 'bar'

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e6aaeba393e9038b5a5a916e5f4e32ffb349436e3be2027be4828f486bc8c9d?d=identicon)[thewilkybarkid](/maintainers/thewilkybarkid)

---

Top Contributors

[![thewilkybarkid](https://avatars.githubusercontent.com/u/1784740?v=4)](https://github.com/thewilkybarkid "thewilkybarkid (18 commits)")

### Embed Badge

![Health badge](/badges/thewilkybarkid-temporal-collections/health.svg)

```
[![Health](https://phpackages.com/badges/thewilkybarkid-temporal-collections/health.svg)](https://phpackages.com/packages/thewilkybarkid-temporal-collections)
```

###  Alternatives

[illuminate/hashing

The Illuminate Hashing package.

6428.7M169](/packages/illuminate-hashing)

PHPackages © 2026

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