PHPackages                             stk2k/collection-immutable - 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. stk2k/collection-immutable

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

stk2k/collection-immutable
==========================

Immutable collection classes

0.1.0(6y ago)02MITPHPPHP &gt;=7.1CI failing

Since Nov 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/stk2k/collection-immutable)[ Packagist](https://packagist.org/packages/stk2k/collection-immutable)[ Docs](https://github.com/stk2k/collection-immutable)[ RSS](/packages/stk2k-collection-immutable/feed)WikiDiscussions master Synced today

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

Immutable collection classes
============================

[](#immutable-collection-classes)

Description
-----------

[](#description)

Immutable collection classes

Feature
-------

[](#feature)

Supported Data Structure
------------------------

[](#supported-data-structure)

- ArrayList
- Collection
- Property(supports hierarchical access to array for string/int/float/bool values)
- Queue
- Set
- Stack
- Vector

Demo
----

[](#demo)

Requirement
-----------

[](#requirement)

PHP 7.1 or later

Installing stk2k/collection-immutable
-------------------------------------

[](#installing-stk2kcollection-immutable)

The recommended way to install stk2k/collection-immutable is through [Composer](http://getcomposer.org).

```
composer require stk2k/collection-immutable
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

License
-------

[](#license)

This library is licensed under the MIT license.

Author
------

[](#author)

[stk2k](https://github.com/stk2k)

Disclaimer
----------

[](#disclaimer)

This software is no warranty.

We are not responsible for any results caused by the use of this software.

Please use the responsibility of the your self.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

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

Unknown

Total

1

Last Release

2418d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/985640?v=4)[stk2k](/maintainers/stk2k)[@stk2k](https://github.com/stk2k)

---

Top Contributors

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

---

Tags

phpcollectionimmutable

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stk2k-collection-immutable/health.svg)

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

###  Alternatives

[werxe/laravel-collection-macros

Custom Laravel Collection macros.

2627.1k](/packages/werxe-laravel-collection-macros)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2519.3k](/packages/iteks-laravel-enum)

PHPackages © 2026

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