library append-stream
Append stream resources into a single stream to read from.
keven/append-stream
Append stream resources into a single stream to read from.
- Friday, April 13, 2018
- by Keven
- Repository
- 0 Watchers
- 2 Stars
- 13 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 7 Versions
- 86 % Grown
keven/append-stream
Concatenate streams without bloating the memory., (*1)
Install
$ composer install keven/append-stream
Usage
<?php
use Keven\AppendStream\AppendStream;
// Concatenate 3 streams
$handle = (new AppendStream([
fopen('data://text/plain,stream1','r'),
fopen('data://text/plain,stream2','r'),
fopen('data://text/plain,stream3','r'),
]))->getResource();
echo stream_get_contents($handle);
// stream1stream2stream3
dev-master
9999999-dev
Append stream resources into a single stream to read from.
Sources
Download
MIT
The Development Requires
1.0.5
1.0.5.0
Append stream resources into a single stream to read from.
Sources
Download
MIT
The Development Requires
1.0.4
1.0.4.0
Append stream resources into a single stream to read from.
Sources
Download
MIT
The Development Requires
1.0.3
1.0.3.0
Append stream resources into a single stream to read from.
Sources
Download
MIT
The Development Requires
1.0.2
1.0.2.0
Append stream resources into a single stream to read from.
Sources
Download
MIT
The Development Requires
1.0.1
1.0.1.0
Append stream resources into a single stream to read from.
Sources
Download
MIT
The Development Requires
1.0.0
1.0.0.0
Append stream resources into a single stream to read from.
Sources
Download
MIT