mikey179/vfsstream
vfsStream provides a PHP stream wrapper for an in-memory virtual file system, ideal for unit tests. Mock files, directories, permissions, and content without touching disk, and use it with PHPUnit, SimpleTest, or any test framework.
vfsStream provides a PHP stream wrapper for virtual filesystem mocking, fitting well in Laravel's unit testing context where filesystem interactions need isolation. Its architecture integrates at the PHP level, allowing direct replacement of file_get_contents, fopen, etc., with stream URLs (e.g., vfsStream::url('root/file.txt')). However, Laravel's Storage facade and Flysystem-based operations may require
How can I help you explore Laravel packages today?