PHPackages                             revinate/sequence - 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. revinate/sequence

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

revinate/sequence
=================

A functional programming library for PHP

1.0.0(5y ago)525.2k4[1 issues](https://github.com/revinate/sequence/issues)MITPHPPHP &gt;=7CI failing

Since May 20Pushed 5y ago51 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (35)Used By (0)

Sequence [![Build Status](https://camo.githubusercontent.com/6e1dec6ce9d9f1d70fd3fd84e8469f29b51bd35e12db86c87929f0ce8c614cb9/68747470733a2f2f7472617669732d63692e6f72672f726576696e6174652f73657175656e63652e737667)](https://travis-ci.org/revinate/sequence)
===============================================================================================================================================================================================================================================================

[](#sequence-)

This library makes it easier to use functional style programming in PHP

PHP Backward Compatibility
--------------------------

[](#php-backward-compatibility)

As we move our codebase forward, it is no longer possible for us to support older versions of PHP. With release version 1.0 and onward, we will stop supporting PHP 5.3 and PHP 5.4.

Quick Example
-------------

[](#quick-example)

Install the package via composer by adding this section to the composer.json file:

```
"require": {
    "revinate/sequence": "~0.4"
},
```

This is a tiny script to get a feeling of how Sequence works.

```
