Ross ROSS = Recommend OSS · open-source software intelligence for agents

bovigo/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. observed · 2026-08-28

github.com/bovigo/vfsStream · PHP · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5585
  • days_rel: n/a
  • days_push: 734
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1440 stars · 105 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

vfsStream is a PHP stream wrapper that provides a virtual file system in memory, primarily for mocking the real file system in unit tests. It works with any PHP unit test framework such as PHPUnit or SimpleTest.

Use cases

  • mock the filesystem in PHPUnit tests
  • test code that reads and writes files without touching disk
  • simulate file permissions and directory structures in tests
  • avoid slow or side-effecting real file I/O in unit tests
  • test file upload handling logic safely

When to choose

  • you write PHP unit tests involving file operations
  • you need deterministic, isolated filesystem behavior in tests
  • you want to test permission-related code paths

When to avoid

  • you need integration tests against a real filesystem
  • your project is not written in PHP
  • you need a persistent virtual filesystem for production use

Facets

library · maturity stable

testing mocking file-system testing developer-tools files php cli virtual-filesystem stream-wrapper phpunit unit-testing

1 source

Member repositories

RepositoryRoleHealth v2
bovigo/vfsStreammain23

For agents

markdown · JSON · MCP: product_card(name="bovigo/vfsStream")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem