mikey179 / vfsstream
Virtual file system to mock the real file system in unit tests.
Installs: 86 977 479
Dependents: 3 015
Suggesters: 5
Security: 0
Stars: 1 430
Watchers: 41
Forks: 102
Open Issues: 34
Requires
- php: >=7.1.0
Requires (Dev)
- phpunit/phpunit: ^7.5||^8.5||^9.6
- yoast/phpunit-polyfills: ^2.0
- dev-master / 2.0.x-dev
- v1.x-dev
- v1.6.x-dev
- v1.6.12
- v1.6.11
- v1.6.11-alpha.0
- v1.6.10
- v1.6.10-alpha.0
- v1.6.9
- v1.6.8
- v1.6.7
- v1.6.6
- v1.6.5
- v1.6.4
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.1.0-beta1
- v1.0.0
- v1.0.0-beta5
- 1.0.0-beta4
- 1.0.0-beta3
- 1.0.0-beta2
- dev-dependabot/github_actions/actions/checkout-4
- dev-dependabot/github_actions/actions/cache-3.0.11
- dev-refactor/rename_and_restructure
- dev-compress_zlib_support
- dev-linking
This package is auto-updated.
Last update: 2025-03-29 00:20:26 UTC
README
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.