2017 © Pedro Peláez
 

library append-stream

Append stream resources into a single stream to read from.

image

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

The README.md

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

The Versions

13/04 2018

dev-master

9999999-dev

Append stream resources into a single stream to read from.

  Sources   Download

MIT

The Development Requires

13/04 2018

1.0.5

1.0.5.0

Append stream resources into a single stream to read from.

  Sources   Download

MIT

The Development Requires

12/04 2018

1.0.4

1.0.4.0

Append stream resources into a single stream to read from.

  Sources   Download

MIT

The Development Requires

12/04 2018

1.0.3

1.0.3.0

Append stream resources into a single stream to read from.

  Sources   Download

MIT

The Development Requires

04/04 2018

1.0.2

1.0.2.0

Append stream resources into a single stream to read from.

  Sources   Download

MIT

The Development Requires

04/04 2018

1.0.1

1.0.1.0

Append stream resources into a single stream to read from.

  Sources   Download

MIT

The Development Requires

04/04 2018

1.0.0

1.0.0.0

Append stream resources into a single stream to read from.

  Sources   Download

MIT