PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
maennchen
/
zipstream-php
/
guides
Usage with PSR 7 Streams =============== PSR-7 streams are `standardized streams <https://www.php-fig.org/psr/psr-7/>`_. ZipStream-PHP supports working with these streams with the function ``addFileFromPsr7Stream``. For all parameters of the function see the API documentation. Example --------------- .. code-block:: php $stream = $response->getBody(); // add a file named 'streamfile.txt' from the content of the stream $zip->addFileFromPsr7Stream('streamfile.txt', $stream);
[-] Symfony.rst
[edit]
[-] Options.rst
[edit]
[-] StreamOutput.rst
[edit]
[-] Varnish.rst
[edit]
[+]
..
[-] ContentLength.rst
[edit]
[-] FlySystem.rst
[edit]
[-] Nginx.rst
[edit]
[-] index.rst
[edit]
[-] PSR7Streams.rst
[edit]