PHPackages                             robinkanters/streams-php - 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. robinkanters/streams-php

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

robinkanters/streams-php
========================

A port of the Streams library for Java8. Let's make PHP cooler.

1.3(9y ago)017MITPHP

Since Feb 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/robinkanters/streams-php)[ Packagist](https://packagist.org/packages/robinkanters/streams-php)[ RSS](/packages/robinkanters-streams-php/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (7)Used By (0)

Streams
=======

[](#streams)

[![Build Status](https://camo.githubusercontent.com/5e8cf8cd7fce0b6b383824b36ff66cb6f2ed07e19a52c70708f9adcef2503bec/68747470733a2f2f7472617669732d63692e6f72672f726f62696e6b616e746572732f73747265616d732d7068702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/robinkanters/streams-php)[![SensioLabsInsight](https://camo.githubusercontent.com/3e51d3d75015685f7ab9c4b3c11b1a506a763ef5b4ad54999a472dfc4f950aeb/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62343730373037392d636434372d346439312d623063322d3932653862393262356632312f6269672e706e67)](https://insight.sensiolabs.com/projects/b4707079-cd47-4d91-b0c2-92e8b92b5f21)

Streams is a port of the Streams library for PHP. It makes working with collections super pleasant.

Installation
------------

[](#installation)

Just add the following to your `composer.json` file:

```
"robinkanters/streams-php": "dev-master"
```

Usage
-----

[](#usage)

An example with the Yii ActiveRecord lib:

```
