Download the PHP package shufflingpixels/php-io without Composer
On this page you can find all versions of the php package shufflingpixels/php-io. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download shufflingpixels/php-io
More information about shufflingpixels/php-io
Files in shufflingpixels/php-io
Download shufflingpixels/php-io
More information about shufflingpixels/php-io
Files in shufflingpixels/php-io
Vendor shufflingpixels
Package php-io
Short Description A small, focused PHP I/O toolkit for working with streams and binary data.
License AGPL-3.0-or-later
Package php-io
Short Description A small, focused PHP I/O toolkit for working with streams and binary data.
License AGPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package php-io
php-io
A small, focused PHP I/O toolkit for working with streams and binary data.
php-io gives you:
- A consistent
StreamInterfaceabstraction - In-memory and file-backed stream implementations
- A
BinaryReaderfor common integer formats (8/16/32-bit, LE/BE) - Clear exception types for I/O and end-of-stream conditions
Requirements
- PHP
>= 8.0
Installation
Quick Start
Read binary values from a string
Work with an in-memory buffer
Open and use a file stream
Main Types
Shufflingpixels\IO\StreamInterface: common stream contract (read,write,seek,tell,eof,length)Shufflingpixels\IO\Buffer: in-memory stream implementationShufflingpixels\IO\File: file-backed stream implementationShufflingpixels\IO\BinaryReader: typed binary reads over anyStreamInterfaceShufflingpixels\IO\SeekMode: type-safe seek modes (SET,CUR,END)Shufflingpixels\IO\FileMode: file open modes (READ,WRITE,RW)
Exceptions
Shufflingpixels\IO\Exception\IOException: generic stream/file I/O failuresShufflingpixels\IO\Exception\EndOfStreamException: not enough bytes available when reading
Running Tests
This package uses Pest.
License
AGPL-3.0
All versions of php-io with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package shufflingpixels/php-io contains the following files
Loading the files please wait ...