PHPackages                             jakub-frajt/typed-list - 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. jakub-frajt/typed-list

ActiveLibrary

jakub-frajt/typed-list
======================

The array data types that contains only specific type of values. Substitution of missing generic types in PHP.

0.2(4y ago)05MITPHPPHP ^8.1

Since Sep 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jakub-frajt/typed-list)[ Packagist](https://packagist.org/packages/jakub-frajt/typed-list)[ RSS](/packages/jakub-frajt-typed-list/feed)WikiDiscussions master Synced 1mo ago

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

PHP typed list
==============

[](#php-typed-list)

[![Build Status](https://camo.githubusercontent.com/785f96aab8a9b1728842a5a904b192e3c70d0df5f3d05d5f7ba5c169bbb98fd9/68747470733a2f2f7472617669732d63692e6f72672f6a616b75622d6672616a742f74797065642d6c6973742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jakub-frajt/typed-list)

Integer list
------------

[](#integer-list)

```
use Frajt\IntegerList;

// create IntegerList from array
$integerList = new IntegerList([1, 2, 30]);

// numeric string values are automatically casted to integer
$integerList = new IntegerList(['1', 2, 30]);

$integerList->getValues(); // get values as array [1, 2, 30]

// support \Iterator interface
foreach ($integerList as $intValue) {
    echo $intValue.PHP_EOL;
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

3

Last Release

1517d ago

PHP version history (3 changes)0.1PHP ^7.2

0.1.1PHP ^7.2|^8.0

0.2PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/39ac756d7787e4b6cd8b4af9cb485abdb28883ff9244c8f57088fcd4e3f67312?d=identicon)[jakub-frajt](/maintainers/jakub-frajt)

---

Top Contributors

[![jakub-frajt](https://avatars.githubusercontent.com/u/10637345?v=4)](https://github.com/jakub-frajt "jakub-frajt (9 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jakub-frajt-typed-list/health.svg)

```
[![Health](https://phpackages.com/badges/jakub-frajt-typed-list/health.svg)](https://phpackages.com/packages/jakub-frajt-typed-list)
```

PHPackages © 2026

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