PHP code example of mintware-de / streams

1. Go to this page and download the library: Download mintware-de/streams library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mintware-de / streams example snippets


use \MintWare\Streams\FileStream;
$stream = new FileStream($filename, $readable = true, $writable = true);

use \MintWare\Streams\MemoryStream;
$stream = new MemoryStream($initialData = '');

use \MintWare\Streams\InputStream;
$stream = new InputStream();

use \MintWare\Streams\OutputStream;
$stream = new OutputStream();