Skip to content

rkrx/php-streams-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-streams-common

Basic stream implementations for PHP 5.3+

Basic example:

use Kir\Streams\InputStream;
use Kir\Streams\Common\PhpStream;

function test(InputStream $stream) {
	echo $stream->read();
}

$stream = new PhpStream('php://memory', 'r+', true);
$stream->write('This is a test')->rewind();
test($stream);

Versioning

www.semver.org

Composer

composer require rkr/php-streams-common dev-master

About

Basic stream implementations for PHP 5.3+

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages