php-streams

A set of generic stream wrappers
  https://github.com/icewind1991/Streams
  0
  no reviews



Generic stream wrappers for PHP, like CallBackWrapper, that can be used to register callbacks on read, write and closing of the stream.

The callbacks are passed in the stream context along with the source stream and can be any valid PHP callable.