| Recommend this page to a friend! |
| Info | Documentation | Reputation | Support forum | Blog | Links |
| Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
| 2025-06-03 (-4 hours ago) | Not yet rated by the users | Total: 17 | All time: 11,405 This week: 560 | |||||
| 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 | |||
| Lic. | License text | |||
| Data | Auxiliary data | |||
| 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 |
|---|---|---|
| |
Class | Class source |
| |
Class | Class source |
| |
Class | Class source |
| |
Class | Class source |
| |
Class | Class source |
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
| 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.