PHPackages                             coldume/imc-stream - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. coldume/imc-stream

ActiveLibrary[Caching](/categories/caching)

coldume/imc-stream
==================

Provide an abstract layer for data stream

v1.0.2(10y ago)135.1k—5%12MITPHPPHP &gt;=5.4.0

Since Oct 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/coldume/imc-stream)[ Packagist](https://packagist.org/packages/coldume/imc-stream)[ Docs](https://github.com/coldume/imc-stream)[ RSS](/packages/coldume-imc-stream/feed)WikiDiscussions develop Synced 2d ago

READMEChangelogDependencies (2)Versions (5)Used By (2)

ImcStream
=========

[](#imcstream)

[![Build Status](https://camo.githubusercontent.com/b9a296fb92302b644846c6e1c82e3decd02144b0501ba0501992e87d1c9842dc/68747470733a2f2f7472617669732d63692e6f72672f636f6c64756d652f696d632d73747265616d2e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/coldume/imc-stream)

This read-only wrapper is an abstract layer between stream open function and any other wrapper. It controls data limit and timeout, gives rewind/seek support to unseekable stream, replaces error reporting with exception handlers, and more!

Depict
------

[](#depict)

Previously:

```
+----------------------+        +----------------+
| Stream open function | -----> | Any wrapper    |
| e.g fopen()          |  | imc wrapper | -----> | Any wrapper    |
| e.g fopen()          |
