Skip to content

mtdowling/streamer

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 

Example:

require 'vendor/autoload.php';

use GuzzleHttp\Streamer\Utils;
use GuzzleHttp\Streamer\BaseWrapper;
use GuzzleHttp\Streamer\NoSeek;

$base = Utils::fromString('foobar');
$f = NoSeek::wrap($base);

echo fread($f, 10);
fseek($f, 0);
echo fread($f, 10);
fseek($base, 0);
echo fread($base, 10);

About

Experimental: easy to create PHP stream decorators. The name will probably change.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages