A PHP 7.2+ library for representing and manipulating collections.
ramsey/collection is a PHP 7.2+ library for representing and manipulating collections..
This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.
Much inspiration for this library came from the Java Collections Framework.
composer require ramsey/collection
The latest class API documentation is available online.
Examples of how to use this framework can be found in the Wiki pages.
Contributions are welcome! Please read CONTRIBUTING for details.