PHPackages                             clue/utf8-react - 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. clue/utf8-react

ActiveLibrary

clue/utf8-react
===============

Streaming UTF-8 parser, built on top of ReactPHP.

v1.3.0(2y ago)6610.2M—0.8%6[9 issues](https://github.com/clue/reactphp-utf8/issues)3MITPHPPHP &gt;=5.3

Since Jun 1Pushed 2y ago4 watchersCompare

[ Source](https://github.com/clue/reactphp-utf8)[ Packagist](https://packagist.org/packages/clue/utf8-react)[ Docs](https://github.com/clue/reactphp-utf8)[ Fund](https://clue.engineering/support)[ GitHub Sponsors](https://github.com/clue)[ RSS](/packages/clue-utf8-react/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (7)Dependencies (3)Versions (8)Used By (3)

clue/reactphp-utf8
==================

[](#cluereactphp-utf8)

[![CI status](https://github.com/clue/reactphp-utf8/actions/workflows/ci.yml/badge.svg)](https://github.com/clue/reactphp-utf8/actions)[![installs on Packagist](https://camo.githubusercontent.com/f10d203c4ba789623c6e001182a1fc782351cab1dfe635a2d89206c321df1829/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c75652f757466382d72656163743f636f6c6f723d626c7565266c6162656c3d696e7374616c6c732532306f6e2532305061636b6167697374)](https://packagist.org/packages/clue/utf8-react)

Streaming UTF-8 parser, built on top of [ReactPHP](https://reactphp.org/).

**Table of Contents**

- [Support us](#support-us)
- [Usage](#usage)
    - [Sequencer](#sequencer)
- [Install](#install)
- [Tests](#tests)
- [License](#license)
- [More](#more)

Support us
----------

[](#support-us)

We invest a lot of time developing, maintaining and updating our awesome open-source projects. You can help us sustain this high-quality of our work by [becoming a sponsor on GitHub](https://github.com/sponsors/clue). Sponsors get numerous benefits in return, see our [sponsoring page](https://github.com/sponsors/clue)for details.

Let's take these projects to the next level together! 🚀

Usage
-----

[](#usage)

### Sequencer

[](#sequencer)

The `Sequencer` class can be used to make sure you only get back complete, valid UTF-8 byte sequences when reading from a stream. It wraps a given `ReadableStreamInterface` and exposes its data through the same interface.

```
