Virtual file system to mock the real file system in unit tests.

Installs: 41 384 463

Dependents: 2 684

Suggesters: 5

Security: 0

Stars: 1 333

Watchers: 44

Forks: 105

Open Issues: 25

v1.6.10 2021-09-25 08:05 UTC


Tests Coverage Status Latest Stable Version Latest Unstable Version

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.


See the wiki.

Also you might want to check vfsStream examples.