2017 © Pedro PelĂĄez
 

library stream

WOK Stream handler component

image

wok/stream

WOK Stream handler component

  • Monday, March 27, 2017
  • by graphidev
  • Repository
  • 1 Watchers
  • 0 Stars
  • 49 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

Stream

This library is a Stream handler., (*1)

Diclaimer : This component is part of the WOK (Web Operational Kit) framework. It however can be used as a standalone library., (*2)

Install

It is recommanded to install that component as a dependency using Composer :, (*3)

composer require wok/stream

You're also free to get it with git or by direct download while this package has no dependencies., (*4)

git clone https://github.com/web-operational-kit/stream.git

Usage

``` php use \WOK\Stream\Stream;, (*5)

/** * Instanciation * --- **/, (*6)

// Instanciate handler from a resource (default) $resource = fopen('php://temp', 'w+'); $stream = new Stream($resource);, (*7)

// Instanciate handler from a file $stream = Stream::createFromFile('/path/to/my/file.txt');, (*8)

// Instanciate handler from a string $stream = Stream::createFromString('here is my string');, (*9)

The Versions

27/03 2017

dev-develop

dev-develop

WOK Stream handler component

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

25/01 2017

dev-master

9999999-dev

WOK Stream handler component

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

25/01 2017

v1.1.0

1.1.0.0

WOK Stream handler component

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

21/11 2016

v1.0.1

1.0.1.0

WOK Stream handler component

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE

21/11 2016

v1.0.0

1.0.0.0

WOK Stream handler component

  Sources   Download

MIT

by SĂ©bastien ALEXANDRE