PHPackages                             shufflingpixels/php-io - 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. shufflingpixels/php-io

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

shufflingpixels/php-io
======================

A small, focused PHP I/O toolkit for working with streams and binary data.

v0.0.5(4w ago)015AGPL-3.0-or-laterPHPPHP &gt;=8.1

Since Apr 22Pushed 2mo agoCompare

[ Source](https://github.com/shufflingpixels/php-io)[ Packagist](https://packagist.org/packages/shufflingpixels/php-io)[ RSS](/packages/shufflingpixels-php-io/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

php-io
======

[](#php-io)

A small, focused PHP I/O toolkit for working with streams and binary data.

`php-io` gives you:

- A consistent `StreamInterface` abstraction
- In-memory and file-backed stream implementations
- A `BinaryReader` for common integer formats (8/16/32-bit, LE/BE)
- Clear exception types for I/O and end-of-stream conditions

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

[](#requirements)

- PHP `>= 8.0`

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

[](#installation)

```
composer require shufflingpixels/php-io
```

Quick Start
-----------

[](#quick-start)

### Read binary values from a string

[](#read-binary-values-from-a-string)

```
