Closed f3l1x closed 6 years ago
For files from local filesystem there is already LazyOpenStream in Guzzle https://github.com/guzzle/psr7/blob/master/src/LazyOpenStream.php
For files from external filesystem could be used PumpStream - callback returns content of file.
Ideas: