Description
You can find documentation in the wiki.
Also you might want to check vfsStream examples.
VFS Stream alternatives and similar libraries
Based on the "Testing" category.
Alternatively, view VFS Stream alternatives based on common mentions on social networks and blogs.
-
Mockery
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). -
PHP-Mock: mocking built-in PHP functions
Mock built-in PHP functions (e.g. time(), exec() or rand())
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of VFS Stream or a related project?
README
vfsStream
[
](//packagist.org/packages/mikey179/vfsStream)
vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.
Documentation
See the wiki.
Also you might want to check vfsStream examples.