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.

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.

Repository details

  • Primary language: PHP
  • License identifier: BSD-3-Clause
  • Stars at capture: 1,438
  • Forks at capture: 105
  • Metadata source: GitHub API, retrieved 20 November 2026

Getting started

Compare the framework major version in the installation instructions with the version used by your application.

Discussion

Sign in to participate.