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.

1421
102
PHP

vfsStream

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.

Documentation

See the wiki.

Also you might want to check vfsStream examples.