covex-nn/joos-stream
JooS_Stream provides a PHP stream wrapper for a virtual filesystem protocol mapped to a base directory. Register a custom scheme, then use standard functions like file_put_contents, unlink, and file_exists on scheme:// paths; unregister when done.
app://, cache://) for internal use cases, improving abstraction and maintainability.VfsStream (Symfony) or Laravel Filesystem abstractions.vfsStream).config://, media://).*"This package lets us create a virtual filesystem in PHP—think of it as a 'sandbox' for file operations that never touches the real disk. It’s ideal for:
app://cache) to simplify complex file logic.
It’s low-risk (MIT license) and avoids reinventing the wheel, but we’d need to validate if it fits our tech stack better than existing tools like Symfony’s VfsStream."*"JooS_Stream is a lightweight PHP stream wrapper for a transactional virtual filesystem. Key benefits:
myapp:// to abstract filesystem logic (e.g., file_put_contents("myapp://config.php", ...)).file_get_contents(), unlink(), etc.vfsStream (more maintained) or Laravel’s Storage facade if you’re on that stack. Prototype this for a high-impact use case (e.g., config management) to validate ROI."*How can I help you explore Laravel packages today?