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

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

gusarov112/date-range
=====================

A simple date-range class that holds valid range of two DateTimeImmutable objects

v1.0.1(5y ago)03MITPHPPHP ^7.1

Since Jul 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/gusarov112/date-range)[ Packagist](https://packagist.org/packages/gusarov112/date-range)[ Docs](http://github.com/gusarov112/date-range)[ RSS](/packages/gusarov112-date-range/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Date range
==========

[](#date-range)

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

[](#installation)

Than require package

```
composer require gusarov112/date-range
```

Usage
-----

[](#usage)

```
$dateRange = new \Gusarov112\DateRange\DateRange(
    new DateTimeImmutable('first day of this month 00:00:00'),
    new DateTimeImmutable('last day of this month 23:59:59')
);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Every ~7 days

Total

2

Last Release

2128d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

collectiongeneric

### Embed Badge

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

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

###  Alternatives

[phpcollection/phpcollection

General-Purpose Collection Library for PHP

1.0k64.0M34](/packages/phpcollection-phpcollection)[aimeos/map

Easy and elegant handling of PHP arrays as array-like collection objects similar to jQuery and Laravel Collections

4.2k412.9k11](/packages/aimeos-map)[league/period

Time range API for PHP

7335.4M21](/packages/league-period)[loophp/collection

A (memory) friendly, easy, lazy and modular collection class.

745663.8k13](/packages/loophp-collection)[athari/yalinqo

YaLinqo, a LINQ-to-objects library for PHP

4561.2M5](/packages/athari-yalinqo)[lorisleiva/lody

Load files and classes as lazy collections in Laravel.

956.6M9](/packages/lorisleiva-lody)

PHPackages © 2026

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