PHPackages                             orisai/vfs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. orisai/vfs

ActiveLibrary[File &amp; Storage](/categories/file-storage)

orisai/vfs
==========

Emulate file system with plain PHP

1.0.0(9mo ago)56.5k13MITPHPPHP 7.4 - 8.4CI passing

Since Aug 4Pushed 6mo agoCompare

[ Source](https://github.com/orisai/vfs)[ Packagist](https://packagist.org/packages/orisai/vfs)[ Docs](https://github.com/orisai/vfs)[ RSS](/packages/orisai-vfs/feed)WikiDiscussions v1.x Synced 1mo ago

READMEChangelogDependencies (13)Versions (2)Used By (3)

 [![Orisai](https://github.com/orisai/.github/raw/main/images/repo_title.png?raw=true)](https://github.com/orisai/.github/blob/main/images/repo_title.png?raw=true)
 Virtual File System
==========================================================================================================================================================================================

[](#virtual-file-system)

 Emulate file system with plain PHP

 📄 Check out our [documentation](docs/README.md).

 💸 If you like Orisai, please [make a donation](https://orisai.dev/sponsor). Thank you!

 [![](https://github.com/orisai/vfs/actions/workflows/ci.yaml/badge.svg?branch=v1.x)](https://github.com/orisai/vfs/actions?query=workflow:CI+branch:v1.x) [![](https://camo.githubusercontent.com/46dbc510c71295b640c1f273962c73f6ab82257a8d152207cbcab8ca05e4a28b/68747470733a2f2f62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f6f72697361692f7666732f76312e783f63616368653d333030)](https://coveralls.io/github/orisai/vfs?branch=v1.x) [![](https://camo.githubusercontent.com/d271054bb5b6e08731fa924655b12eea0968ccbda851e901cc0fd14c7de392ba/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d68747470733a2f2f62616467652d6170692e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f6f72697361692f7666732f76312e78)](https://dashboard.stryker-mutator.io/reports/github.com/orisai/vfs/v1.x) [![](https://camo.githubusercontent.com/a1dd376a472b1ff037c8dc77dceb3db15b80c9ddb3f4f80fc0657ca1911ad7fb/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f6f72697361692f7666733f63616368653d33363030)](https://packagist.org/packages/orisai/vfs) [![](https://camo.githubusercontent.com/ce92ea8268dc363ca783537efe70623c957cee9baac4e9e5b8d47b32b7c9ba4c/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f6f72697361692f7666733f63616368653d33363030)](https://packagist.org/packages/orisai/vfs) [![](https://camo.githubusercontent.com/40b2374865c7727b1568a7b77cc1a8068979ac265d85d659fe73b2d337b458e6/68747470733a2f2f62616467656e2e6e65742f62616467652f6c6963656e73652f4d504c2d322e302f626c75653f63616368653d33363030)](https://choosealicense.com/licenses/mpl-2.0/)

> This package is remake of [php-vfs](https://github.com/michael-donat/php-vfs) from [michael-donat](https://github.com/michael-donat). Thank you, Michael!

```
use Orisai\VFS\VFS;

// Register VFS protocol
$scheme = VFS::register();

// Write into virtual file
file_put_contents("$scheme://file", 'content');

// Read content of virtual file
$content = file_get_contents("$scheme://file");

// Unregister protocol, delete the virtual filesystem
VFS::unregister($scheme);
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance62

Regular maintenance activity

Popularity26

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~91 days

Total

2

Last Release

196d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20974277?v=4)[Marek Bartoš](/maintainers/mabar)[@mabar](https://github.com/mabar)

---

Top Contributors

[![michael-donat](https://avatars.githubusercontent.com/u/1475740?v=4)](https://github.com/michael-donat "michael-donat (112 commits)")[![mabar](https://avatars.githubusercontent.com/u/20974277?v=4)](https://github.com/mabar "mabar (63 commits)")[![milesj](https://avatars.githubusercontent.com/u/143744?v=4)](https://github.com/milesj "milesj (2 commits)")[![morozov](https://avatars.githubusercontent.com/u/59683?v=4)](https://github.com/morozov "morozov (2 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")[![stefanotorresi](https://avatars.githubusercontent.com/u/2952427?v=4)](https://github.com/stefanotorresi "stefanotorresi (1 commits)")[![mathroc](https://avatars.githubusercontent.com/u/291531?v=4)](https://github.com/mathroc "mathroc (1 commits)")[![nick-jones](https://avatars.githubusercontent.com/u/350792?v=4)](https://github.com/nick-jones "nick-jones (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")[![pimjansen](https://avatars.githubusercontent.com/u/1457219?v=4)](https://github.com/pimjansen "pimjansen (1 commits)")

---

Tags

filesystemfilesystem-libraryorisaiphpvfsfilesystemorisaivfsfilesystem-library

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/orisai-vfs/health.svg)

```
[![Health](https://phpackages.com/badges/orisai-vfs/health.svg)](https://phpackages.com/packages/orisai-vfs)
```

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[knplabs/knp-gaufrette-bundle

Allows to easily use the Gaufrette library in a Symfony project

72428.6M91](/packages/knplabs-knp-gaufrette-bundle)[league/flysystem-local

Local filesystem adapter for Flysystem.

225231.8M39](/packages/league-flysystem-local)[oneup/flysystem-bundle

Integrates Flysystem filesystem abstraction library to your Symfony project.

64422.9M66](/packages/oneup-flysystem-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
