PHPackages                             stekycz/collections - 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. stekycz/collections

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

stekycz/collections
===================

Basic collections for PHP using arrays

v0.6.0(12y ago)514MITPHPPHP &gt;=5.3.3

Since Feb 19Pushed 12y ago1 watchersCompare

[ Source](https://github.com/stekycz/Collections)[ Packagist](https://packagist.org/packages/stekycz/collections)[ RSS](/packages/stekycz-collections/feed)WikiDiscussions master Synced 1mo ago

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

Collections [![Build Status](https://camo.githubusercontent.com/91847d83e0ed2e0c52fd70be27e74c77eaa18084dc8ed62786668bc6e03218d9/68747470733a2f2f7472617669732d63692e6f72672f7374656b79637a2f436f6c6c656374696f6e732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/stekycz/Collections)
====================================================================================================================================================================================================================================================================================================

[](#collections-)

- [Description](#description)
- [Author](#author)
- [License](#license)

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

[](#description)

Basic collections for PHP using arrays. It contains only `Set` now however I want to add some more collection types (for example `Map`, `List`, etc.). All suggestions are welcome.

It requires **PHP &gt;= 5.3.3**.

Basic methods are inspirated by [Java collections](http://docs.oracle.com/javase/6/docs/api/java/util/Collections.html)but some methods are not used (for example `size()`, `iterator()`, etc.) because there is some equivalent in PHP (for example `count()` in `Countable` interface).

Author
------

[](#author)

My name is Martin Štekl. Feel free to contact me on [e-mail](mailto:martin.stekl@gmail.com)or follow me on [Twitter](https://twitter.com/stekycz).

License
-------

[](#license)

Copyright (c) 2013 Martin Štekl

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

4489d ago

PHP version history (2 changes)0.5.0PHP &gt;=5.3.0

v0.6.0PHP &gt;=5.3.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/865447?v=4)[Martin Štekl](/maintainers/stekycz)[@stekycz](https://github.com/stekycz)

---

Top Contributors

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

---

Tags

arraysetcollection

### Embed Badge

![Health badge](/badges/stekycz-collections/health.svg)

```
[![Health](https://phpackages.com/badges/stekycz-collections/health.svg)](https://phpackages.com/packages/stekycz-collections)
```

###  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)[athari/yalinqo

YaLinqo, a LINQ-to-objects library for PHP

4561.2M5](/packages/athari-yalinqo)[chdemko/sorted-collections

Sorted Collections for PHP &gt;= 8.2

222.5M3](/packages/chdemko-sorted-collections)[yansongda/supports

common components

211.4M31](/packages/yansongda-supports)[armincms/json

A Laravel Nova field.

25149.4k3](/packages/armincms-json)

PHPackages © 2026

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