Registry / utility / innmind-stream

innmind-stream

JSON →
library4.2.0phppackagistunverified

Wrapper to PHP stream functions

composer require innmind/stream
INSTALL
IMPORT
SIG · INNMIND-STREAM
I
innmind-stream
utilityphpv4.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Stream
use Innmind\Stream\Stream;

Create a stream and read/write data

<?php use Innmind\Stream\Stream; $stream = new Stream(fopen('php://memory', 'r+')); $stream->write('Hello'); $stream->rewind(); echo $stream->read(5);
Debug
Known issues
breakingRequires PHP 8.0+ and may not be compatible with older PHP versions.
fix
Ensure your environment meets the PHP version requirement.
affects: >=4.0.0
Upgrade
Version history
4.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
innmind-stream — pip install innmind-stream · libregistry