PHPackages                             goodby/immutable-datetime - 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. goodby/immutable-datetime

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

goodby/immutable-datetime
=========================

1.0.0(13y ago)023MITPHPPHP &gt;=5.3.2

Since May 9Pushed 13y ago1 watchersCompare

[ Source](https://github.com/goodby/immutable-datetime)[ Packagist](https://packagist.org/packages/goodby/immutable-datetime)[ Docs](https://github.com/goodby/immutable-datetime)[ RSS](/packages/goodby-immutable-datetime/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

ImmutableDatetime
=================

[](#immutabledatetime)

[![Build Status](https://camo.githubusercontent.com/e650f1e6d9abb83bb59465208337c28fc606e7e2943957eb6919d9ec400bc90a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f676f6f6462792f696d6d757461626c652d6461746574696d652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/goodby/immutable-datetime)

What is ImmutableDatetime?
--------------------------

[](#what-is-immutabledatetime)

This is a imutable datetime library.

Requirements
------------

[](#requirements)

- PHP 5.4

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

[](#installation)

Install composer in your project:

```
curl -s http://getcomposer.org/installer | php

```

Create a `composer.json` file in your project root:

```
{
    "require": {
        "goodby/immutable-datetime": "*"
    }
}
```

Install via composer:

```
php composer.phar install

```

License
-------

[](#license)

ImmutableDatetime is open-sourced software licensed under the MIT License - see the LICENSE file for details

Documentation
-------------

[](#documentation)

See unit test.

Contributing
------------

[](#contributing)

Checkout master source code from github:

```
hub clone goodby/immutable-datetime

```

Install develpment components via composer:

```
# If you don't have composer.phar
./scripts/bundle-devtools.sh .

# If you have composer.phar
composer.phar install --dev

```

### Unit Testing

[](#unit-testing)

We works under test driven development.

Run phpunit:

```
./vendor/bin/phpunit

```

### Coding Standard

[](#coding-standard)

We follows coding standard [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md).

Check if your codes follows PSR-2 by phpcs:

```
./vendor/bin/phpcs --standard=PSR2 src/

```

Acknowledgement
---------------

[](#acknowledgement)

This project was automatically generated by "[Goodby Setup](http://bit.ly/byesetup)".

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

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

4800d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/77f381b8b8abb6451a7ee2e4f6a4f5d69427193680024479b5ebb0b646cf9e90?d=identicon)[reoring](/maintainers/reoring)

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/goodby-immutable-datetime/health.svg)

```
[![Health](https://phpackages.com/badges/goodby-immutable-datetime/health.svg)](https://phpackages.com/packages/goodby-immutable-datetime)
```

###  Alternatives

[symfony/flex

Composer plugin for Symfony

4.2k191.0M1.0k](/packages/symfony-flex)

PHPackages © 2026

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