PHPackages                             mmieluch/laravel-vfs-provider - 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. mmieluch/laravel-vfs-provider

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

mmieluch/laravel-vfs-provider
=============================

A Laravel service provider for Flysystem's wrapper around PHP-VFS.

1.1.0(6y ago)418.2k2[1 issues](https://github.com/mmieluch/laravel-vfs-provider/issues)MITPHPPHP &gt;=7.0

Since Feb 16Pushed 6y agoCompare

[ Source](https://github.com/mmieluch/laravel-vfs-provider)[ Packagist](https://packagist.org/packages/mmieluch/laravel-vfs-provider)[ RSS](/packages/mmieluch-laravel-vfs-provider/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (3)Versions (7)Used By (0)

laravel-vfs-provider
====================

[](#laravel-vfs-provider)

[![Latest Stable Version](https://camo.githubusercontent.com/6843c2563ac5c2f84a36b213913ad316f0df0f99a884142f644938d90b2fb751/68747470733a2f2f706f7365722e707567782e6f72672f6d6d69656c7563682f6c61726176656c2d7666732d70726f76696465722f762f737461626c65)](https://packagist.org/packages/mmieluch/laravel-vfs-provider)[![Total Downloads](https://camo.githubusercontent.com/9976455a2a970ecdea62dc2854905e2702227a3c114a7829eb29c728ebf0a099/68747470733a2f2f706f7365722e707567782e6f72672f6d6d69656c7563682f6c61726176656c2d7666732d70726f76696465722f646f776e6c6f616473)](https://packagist.org/packages/mmieluch/laravel-vfs-provider)[![License](https://camo.githubusercontent.com/f45d904953153ca304a2328243d2733e095eee13a631a1f390709885d41dd692/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f6672616d65776f726b2f6c6963656e73652e737667)](https://packagist.org/packages/mmieluch/laravel-vfs-provider)

A service provider intended to use with Laravel 5.x for The League Flysystem's wrapper around PHP-VFS library.

Installation
------------

[](#installation)

1. Update your project dependencies:

    ```
    composer require mmieluch/laravel-vfs-provider
    ```
2. Register new service provider in `config/app.php`:

```
return [

    'providers' => [

        ...

        /*
         * 3rd Party Service Providers
         */
        Mmieluch\LaravelVfsProvider\LaravelVfsServiceProvider::class,

    ],

];
```

3. Update your `config/filesystems.php` file:

```
return [

    ...

    'disks' => [

      // This is just an example name, you can call your disk
      // however you want :)
      'virtual' => [
          'driver' => 'vfs',
      ],

    ],

];
```

---

Now you can start using your new driver, just as you'd use a `local` driver:

```
// Get a handler for storage...
$storage = app('storage');
// Or, if your VFS disk is not a default one, you need to
// choose it from the pool of available disks.
$storage = app('storage')->disk('virtual');

// And you're ready to use your new virtual filesystem!
$storage->makeDirectory('foo');
$storage->put('foo/bar.txt', 'baz');

$storage->has('foo/bar.txt'); // Returns: true

echo $storage->get('/foo/bar.txt'); // Outputs: baz

// You'd like to use a facade? Why, go ahead!
Storage::put('test.txt', 'All about that bass');
// Again, if your virtual drive is not set as your default:
Storage::disk('virtual')->put('test.txt', 'No treble');
```

For full set of instructions on how to use the Laravel filesystem service visit [Laravel's official documentation](https://laravel.com/docs/master/filesystem)

TODO
----

[](#todo)

- set up path prefix (configuration `root`), like in other drivers;
- add tests.

Bugs? Suggestions?
------------------

[](#bugs-suggestions)

Feel free to file an issue or submit a PR.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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 ~262 days

Recently: every ~328 days

Total

6

Last Release

2476d ago

Major Versions

0.0.3 → 1.0.02017-02-02

PHP version history (2 changes)0.0.1PHP &gt;=5.4.0

1.1.0PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3188919?v=4)[Michał Mieluch](/maintainers/mmieluch)[@mmieluch](https://github.com/mmieluch)

---

Top Contributors

[![mmieluch](https://avatars.githubusercontent.com/u/3188919?v=4)](https://github.com/mmieluch "mmieluch (9 commits)")[![EcoinTest](https://avatars.githubusercontent.com/u/153815470?v=4)](https://github.com/EcoinTest "EcoinTest (1 commits)")

---

Tags

laravel-vfs-providerleague-flysystem-wrapperphpFlysystemlaravelservice providervfsphp-vfs

### Embed Badge

![Health badge](/badges/mmieluch-laravel-vfs-provider/health.svg)

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M169](/packages/laravel-ai)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.1k3.4M81](/packages/unisharp-laravel-filemanager)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4821.5k](/packages/erag-laravel-lang-sync-inertia)[zing/laravel-flysystem-obs

Flysystem Adapter for OBS

1212.0k](/packages/zing-laravel-flysystem-obs)

PHPackages © 2026

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