PHPackages                             3lvir4/php-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. 3lvir4/php-range

ActiveLibrary

3lvir4/php-range
================

Range object for easy range manipulation. Partially inspired by Elixir.

v0.2.0(2y ago)08[1 issues](https://github.com/3lvir4/php-range/issues)MITPHPPHP &gt;=8.1

Since Jan 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/3lvir4/php-range)[ Packagist](https://packagist.org/packages/3lvir4/php-range)[ Docs](https://github.com/3lvir4/php-range)[ RSS](/packages/3lvir4-php-range/feed)WikiDiscussions main Synced 1mo ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/3a779333a318d29c33f7d6915a4d370bbd0f37156835b57db7a5052f61d8416b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f336c766972342f7068702d72616e6765)](https://packagist.org/packages/3lvir4/php-range)[![CI Status](https://github.com/3lvir4/php-range/workflows/CI/badge.svg)](https://github.com/3lvir4/php-range/actions)

3lvir4/php-range
================

[](#3lvir4php-range)

This package provides a Range object for manipulating ranges easily. It is partially inspired by the Elixir Range module/struct. [See reference.](https://hexdocs.pm/elixir/1.16.0/Range.html)

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

[](#installation)

You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):

```
composer require 3lvir4/php-range

```

If you only need this library during development, then you should add it as a development-time dependency:

```
composer require --dev 3lvir4/php-range

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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 ~12 days

Total

4

Last Release

807d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7461fb42213789628c5c055c756b0ea2d94ca6283a693974f9b2b39875f765e5?d=identicon)[3lvir4](/maintainers/3lvir4)

---

Top Contributors

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

---

Tags

rangeintegers

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/3lvir4-php-range/health.svg)

```
[![Health](https://phpackages.com/badges/3lvir4-php-range/health.svg)](https://phpackages.com/packages/3lvir4-php-range)
```

###  Alternatives

[league/period

Time range API for PHP

7335.4M21](/packages/league-period)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[mlocati/ip-lib

Handle IPv4, IPv6 addresses and ranges

3126.4M44](/packages/mlocati-ip-lib)[kartik-v/yii2-date-range

An advanced Yii 2 date range picker input for based on bootstrap-daterangepicker plugin.

894.4M42](/packages/kartik-v-yii2-date-range)[kartik-v/yii2-sortable

Create sortable lists and grids using HTML5 drag and drop API for Yii 2.0.

433.8M13](/packages/kartik-v-yii2-sortable)[kartik-v/yii2-widget-rangeinput

An enhanced Yii 2 widget encapsulating the HTML 5 range input (sub repo split from yii2-widgets)

193.9M3](/packages/kartik-v-yii2-widget-rangeinput)

PHPackages © 2026

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