PHPackages                             expressif/stream - 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. expressif/stream

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

expressif/stream
================

evented streams wrapper

0.0.4(11y ago)1151MITPHPPHP &gt;=5.6.0

Since Jan 24Pushed 11y ago2 watchersCompare

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

READMEChangelog (7)DependenciesVersions (9)Used By (1)

Streams with libevent
=====================

[](#streams-with-libevent)

Evented streams wrapper (used by expressif/http and expressif/cluster)

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

[](#requirements)

- php 5.6+
- libevent 0.1.0

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

[](#installation)

Get the libevent library from pecl :

Note : For windows you can download libraries from here :

Add this lib as a dependency `composer require expressif/stream`

Usage
-----

[](#usage)

### EventEmitter

[](#eventemitter)

This class handles callback listeners and events emission :

```
