|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2019-08-21 (26 days ago) ||Not yet rated by the users||Total: 8 This week: 1||All time: 9,699 This week: 335|
This package implements the access to data as defined in PSR-7.
It provides a base class that implements all the functions defined by the PSR-7 specification for all operations to read and write data to streams of any type.
The package also provides sub-classes to access several types of streamed data sources like files, memory, application input and output.
several classes that implement the streams interface t
? Streams for PHP
This package provides some implementations of the PSR-7 StreamInterface.
You can install this package using composer:
$ composer require mintware-de/streams
Provides read / write access for files.
$stream = new FileStream($filename, $readable = true, $writable = true);
With this implementation you can read data from and write data to the memory.
$stream = new MemoryStream($initialData = '');
Provides read-only access for the
php://input resource. This holds for example the raw HTTP request.
$stream = new InputStream();
Provides write-only access for the
$stream = new OutputStream();
? Unit Tests
Don't forget to hit the ??-Star button if you find this package useful.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.