Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 14 | All time: 10,548 This week: 231![]() |
Version | License | PHP version | Categories | |||
streams 1.0 | MIT/X Consortium ... | 5 | PHP 5, Stream wrappers, PSR |
Description | Author | |
This package implements the access to data as defined in PSR-7. |
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.
use \MintWare\Streams\FileStream;
$stream = new FileStream($filename, $readable = true, $writable = true);
With this implementation you can read data from and write data to the memory.
use \MintWare\Streams\MemoryStream;
$stream = new MemoryStream($initialData = '');
Provides read-only access for the php://input
resource. This holds for example the raw HTTP request.
use \MintWare\Streams\InputStream;
$stream = new InputStream();
Provides write-only access for the php://output
resource.
use \MintWare\Streams\OutputStream;
$stream = new OutputStream();
$ phpunit
Don't forget to hit the ??-Star button if you find this package useful. Thanks ?
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation |
![]() |
/ | src |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
/ | tests |
File | Role | Description |
---|---|---|
![]() ![]() |
Aux. | Auxiliary script |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.