[![byte-stream](https://raw.githubusercontent.com/amphp/logo/master/repos/byte-stream.png?v=07-09-2017)](https://amphp.org/byte-stream/)

<p align="center">
<a href="https://travis-ci.org/amphp/byte-stream"><img src="https://img.shields.io/travis/amphp/byte-stream/master.svg?style=flat-square"></a>
<a href="https://coveralls.io/github/amphp/byte-stream?branch=master"><img src="https://img.shields.io/coveralls/amphp/byte-stream/master.svg?style=flat-square"></a>
<a href="blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square"></a>
</p>

`amphp/byte-stream` is a stream abstraction to make working with non-blocking I/O simple.

## Installation

This package can be installed as a [Composer](https://getcomposer.org/) dependency.

```bash
composer require amphp/byte-stream
```

## Requirements

- PHP 7.0+

## Documentation

Documentation is bundled within this repository in the [`./docs`](./docs) directory.

## Versioning

`amphp/byte-stream` follows the [semver](http://semver.org/) semantic versioning specification like all other `amphp` packages.

## Security

If you discover any security related issues, please email [`me@kelunik.com`](mailto:me@kelunik.com) instead of using the issue tracker.

## License

The MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information.
