PHPackages                             hmlb/date - 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. hmlb/date

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

hmlb/date
=========

Immutable Date library with a rich API for PHP projects.

1.0(10y ago)1428MITPHPPHP &gt;=5.5.0

Since Nov 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/hmlb/date)[ Packagist](https://packagist.org/packages/hmlb/date)[ Docs](https://github.com/hmlb/date)[ RSS](/packages/hmlb-date/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Date
====

[](#date)

[![Build Status](https://camo.githubusercontent.com/06dc10c73635b88f25485899517d5108676fa2e8f2bf4352c010801d48c535c5/68747470733a2f2f7472617669732d63692e6f72672f686d6c622f646174652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hmlb/date)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/041f11d90832372f9cd77c718ff7b2b2b134365fc02fd78a554807e3a7d6557f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f686d6c622f646174652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/hmlb/date/?branch=master)

Immutable Date object that extends php's DateTime API.

This is based on the awesome [nesbot/carbon](https://github.com/briannesbitt/Carbon) project. The use of immutables objects needed the rewrite of the classes.

License
-------

[](#license)

hmlb/date is available under the MIT License.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3822d ago

### Community

Maintainers

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

---

Top Contributors

[![hugues-m](https://avatars.githubusercontent.com/u/5310915?v=4)](https://github.com/hugues-m "hugues-m (11 commits)")

---

Tags

phpcarbonDomain Driven Designdddhmlb

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hmlb-date/health.svg)

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

###  Alternatives

[phpmentors/domain-kata

Kata for domain models

73426.9k9](/packages/phpmentors-domain-kata)[phpmentors/domain-commons

Commons for domain models

11287.8k](/packages/phpmentors-domain-commons)[ammardaana/laravel-domain-driven-design

Generate laravel Domain driven design (monolith) structure

111.2k](/packages/ammardaana-laravel-domain-driven-design)

PHPackages © 2026

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