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

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

worksolutions/php-collections
=============================

Collections library for php language

1.1.7(3y ago)3924.4k↓48.7%5[6 issues](https://github.com/worksolutions/php-collections/issues)[2 PRs](https://github.com/worksolutions/php-collections/pulls)MITPHPPHP ^7.3 || ~8.0CI failing

Since Jul 12Pushed 3y ago7 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (32)Used By (0)

PHP Collections
===============

[](#php-collections)

[![Tests](https://github.com/worksolutions/php-collections/workflows/Unit%20tests/badge.svg)](https://github.com/worksolutions/php-collections/workflows/Unit%20tests/badge.svg)[![Code Coverage](https://camo.githubusercontent.com/8350f3e29a288ce0762e7d8962919ca8f38351e11a6923a175c2a0ab61370aa8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776f726b736f6c7574696f6e732f7068702d636f6c6c656374696f6e732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/worksolutions/php-collections/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/bfdcd5b717b21ac7db0305c995dfe1846f0972cf4754f2b4a9c79e540827e1e4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776f726b736f6c7574696f6e732f7068702d636f6c6c656374696f6e732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/worksolutions/php-collections/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/d2009d9c2b609b9502b792f3ecb210f81816a2646e8a172db42d3ce68c831307/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776f726b736f6c7574696f6e732f7068702d636f6c6c656374696f6e733f7374796c653d666c61742d737175617265)](https://packagist.org/packages/worksolutions/php-collections)

A collection library for PHP. It is used for convenient work with common data structures through functional approach. The main data structures are: List, Map, Stack, Queue, Set. Part of the library is a Stream API. It provides a more functional programming approach to iterating and processing elements.

Read this in other languages: [Русский](doc/README.ru.md)

Requirements
------------

[](#requirements)

[`PHP 7.1+`](https://www.php.net/downloads)

Install
-------

[](#install)

```
composer require worksolutions/php-collections
```

Examples
--------

[](#examples)

```
