constup-foss / php-collections
A set of PHP collections
Requires
- php: >=8.5
Requires (Dev)
- fakerphp/faker: ^1.24
- friendsofphp/php-cs-fixer: ^3.95
- phpunit/phpunit: ^13
- rector/rector: ^2.4
This package is auto-updated.
Last update: 2026-05-24 18:04:54 UTC
README
Table of ContentsDescription
A set of ready-to-use collections for PHP.
The main goal of this library is to provide a set of reusable, independent, standalone collections classified by their features and intended use scenarios. It is developed as an alternative to using specific collections from much bigger libraries whose focus is on a completely different feature set, but have collections implemented as an internal requirement.
In short, if your project needs support for collections, but you don’t need DoctrineORM (or any other software package that has collections), this library is for you.
Installation
composer require constup-foss/php-collections
Available collections
The following collections are implemented. Their documentation is available on linked pages:
Technical documentation is available on a separate documentation page: Documentation Home
Supporting development
If you like this library or find it useful, consider buying me a nice cup of coffee. Coffee fuels open source.
License
MIT License
-
License file: LICENSE.txt
-
Online version: https://opensource.org/license/mit
