PHPackages                             doesntcarewho/modifyed\_flysystem - 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. [Framework](/categories/framework)
4. /
5. doesntcarewho/modifyed\_flysystem

ActiveLibrary[Framework](/categories/framework)

doesntcarewho/modifyed\_flysystem
=================================

Flysystem Is A Flysystem Bridge For Laravel

v7.1.1(5y ago)08MITPHPPHP ^7.2.5 || ^8.0

Since Jan 21Pushed 5y agoCompare

[ Source](https://github.com/polisadov/Laravel-Flysystem)[ Packagist](https://packagist.org/packages/doesntcarewho/modifyed_flysystem)[ GitHub Sponsors](https://github.com/GrahamCampbell)[ Fund](https://tidelift.com/funding/github/packagist/graham-campbell/flysystem)[ RSS](/packages/doesntcarewho-modifyed-flysystem/feed)WikiDiscussions 7.1 Synced today

READMEChangelogDependencies (19)Versions (45)Used By (0)

Laravel Flysystem
=================

[](#laravel-flysystem)

Laravel Flysystem was created by, and is maintained by [Graham Campbell](https://github.com/GrahamCampbell), and is a [Flysystem](https://github.com/thephpleague/flysystem) bridge for [Laravel](http://laravel.com). It utilises my [Laravel Manager](https://github.com/GrahamCampbell/Laravel-Manager) package. Feel free to check out the [change log](CHANGELOG.md), [releases](https://github.com/GrahamCampbell/Laravel-Flysystem/releases), [security policy](https://github.com/GrahamCampbell/Laravel-Flysystem/security/policy), [license](LICENSE), [code of conduct](.github/CODE_OF_CONDUCT.md), and [contribution guidelines](.github/CONTRIBUTING.md).

[![Banner](https://user-images.githubusercontent.com/2829600/71477347-60993680-27e1-11ea-9ae5-e8168f95c3a6.png)](https://user-images.githubusercontent.com/2829600/71477347-60993680-27e1-11ea-9ae5-e8168f95c3a6.png)

[![Promo Banner](https://camo.githubusercontent.com/3ecdeec02df25313edab38bf5a85c70bbf9cbf016cba318a475b8499fe6e95b4/68747470733a2f2f7873636f64652e636f6d2f6173736574732f70726f6d6f2d62616e6e65722e737667)](https://xscode.com/grahamcampbell/Laravel-Flysystem)

[![Build Status](https://camo.githubusercontent.com/6a668f33c2b324ca7695420942616dee76caa517061c65b7094aa0910d3c8095/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f47726168616d43616d7062656c6c2f4c61726176656c2d466c7973797374656d2f54657374733f6c6162656c3d5465737473267374796c653d666c61742d737175617265)](https://github.com/GrahamCampbell/Laravel-Flysystem/actions?query=workflow%3ATests)[![StyleCI Status](https://camo.githubusercontent.com/dc83f200e6774b266c0f7e356727faea981732bae2ab916e88e6cd460eec0a7d/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f31353736363236342f736869656c64)](https://github.styleci.io/repos/15766264)[![Software License](https://camo.githubusercontent.com/c090e080484e2a2bc766446291d04437db823929042bf614b26a1643660ddf6f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e3f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Downloads](https://camo.githubusercontent.com/8a427410a7a353779bbd7cd3f75084fcab58be4dc9b56799c1c81ea8c2c21edd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67726168616d2d63616d7062656c6c2f666c7973797374656d3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/graham-campbell/flysystem)[![Latest Version](https://camo.githubusercontent.com/ac99077a34ad97a2c9ac0dfdc1b247802e76de46169b53431a5ce922a0cdae63/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f47726168616d43616d7062656c6c2f4c61726176656c2d466c7973797374656d3f7374796c653d666c61742d737175617265)](https://github.com/GrahamCampbell/Laravel-Flysystem/releases)

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

[](#installation)

Laravel Flysystem requires [PHP](https://php.net) 7.2-8.0. This particular version supports Laravel 6-8.

FlysystemL5.1L5.2L5.3L5.4L5.5L5.6L5.7L5.8L6L7L83.7✅✅✅✅❌❌❌❌❌❌❌4.1✅✅✅✅✅❌❌❌❌❌❌5.3❌❌❌❌✅✅✅✅❌❌❌6.3❌❌❌❌✅✅✅✅✅✅❌7.1❌❌❌❌❌❌❌❌✅✅✅To get the latest version, simply require the project using [Composer](https://getcomposer.org):

```
$ composer require "graham-campbell/flysystem:^7.1"
```

There are also some additional dependencies you will need to install for some of the features:

- The AwsS3 adapter requires `league/flysystem-aws-s3-v3` (`^1.0`).
- The Azure adapter requires `league/flysystem-azure-blob-storage` (`^0.1.6`).
- The Dropbox adapter requires `spatie/flysystem-dropbox` (`^1.0`).
- The GoogleCloudStorage adapter requires `superbalist/flysystem-google-storage` (`^7.2`).
- The GridFS adapter requires `league/flysystem-gridfs` (`^1.0`) and `alcaeus/mongo-php-adapter` (`^1.1`).
- The Sftp adapter requires `league/flysystem-sftp` (`^1.0`).
- The WebDav adapter requires `league/flysystem-webdav` (`^1.0`).
- The ZipAdapter adapter requires `league/flysystem-ziparchive` (`^1.0`).
- The adapter caching support requires `league/flysystem-cached-adapter` (`^1.0`).
- The eventable filesystem support requires `league/flysystem-eventable-filesystem` (`^1.0`).

Once installed, if you are not using automatic package discovery, then you need to register the `GrahamCampbell\Flysystem\FlysystemServiceProvider` service provider in your `config/app.php`.

You can also optionally alias our facade:

```
        'Flysystem' => GrahamCampbell\Flysystem\Facades\Flysystem::class,
```

Configuration
-------------

[](#configuration)

Laravel Flysystem requires connection configuration.

To get started, you'll need to publish all vendor assets:

```
$ php artisan vendor:publish
```

This will create a `config/flysystem.php` file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

There are three config options:

##### Default Connection Name

[](#default-connection-name)

This option (`'default'`) is where you may specify which of the connections below you wish to use as your default connection for all work. Of course, you may use many connections at once using the manager class. The default value for this setting is `'local'`.

##### Flysystem Connections

[](#flysystem-connections)

This option (`'connections'`) is where each of the connections are setup for your application. Examples of configuring each supported driver are included in the [config file](config/flysystem.php#L40-L179), which you should have "published". You can of course have multiple connections per driver.

##### Flysystem Cache

[](#flysystem-cache)

This option (`'cache'`) is where each of the cache configurations setup for your application. There are currently two drivers: illuminate and adapter. Examples of configuration are included. You can of course have multiple connections per driver as shown.

Usage
-----

[](#usage)

##### FlysystemManager

[](#flysystemmanager)

This is the class of most interest. It is bound to the ioc container as `'flysystem'` and can be accessed using the `Facades\Flysystem` facade. This class implements the `ManagerInterface` by extending `AbstractManager`. The interface and abstract class are both part of my [Laravel Manager](https://github.com/GrahamCampbell/Laravel-Manager) package, so you may want to go and checkout the docs for how to use the manager class over at [that repo](https://github.com/GrahamCampbell/Laravel-Manager#usage). Note that the connection class returned will always be an instance of a class that implements `\League\Flysystem\FilesystemInterface` which will be `\League\Flysystem\Filesystem` by default.

##### Facades\\Flysystem

[](#facadesflysystem)

This facade will dynamically pass static method calls to the `'flysystem'` object in the ioc container which by default is the `FlysystemManager` class.

##### FlysystemServiceProvider

[](#flysystemserviceprovider)

This class contains no public methods of interest. This class should be added to the providers array in `config/app.php`. This class will setup ioc bindings.

##### Real Examples

[](#real-examples)

Here you can see an example of just how simple this package is to use. Out of the box, the default adapter is `local`, and it will just work straight away:

```
use GrahamCampbell\Flysystem\Facades\Flysystem;
// you can alias this in config/app.php if you like

Flysystem::put('hi.txt', 'foo');
// we're done here - how easy was that, it just works!

Flysystem::read('hi.txt'); // this will return foo
```

The flysystem manager will behave like it is a `\League\Flysystem\Filesystem` class. If you want to call specific connections, you can do with the `connection` method:

```
use GrahamCampbell\Flysystem\Facades\Flysystem;

// note the foo connection does not ship with this package, it's hypothetical
Flysystem::connection('foo')->put('test.txt', 'bar');

// now we can read that file
Flysystem::connection('foo')->read('test.txt'); // this will return bar
```

With that in mind, note that:

```
use GrahamCampbell\Flysystem\Facades\Flysystem;

// writing this:
Flysystem::connection('local')->read('test.txt');

// is identical to writing this:
Flysystem::read('test.txt');

// and is also identical to writing this:
Flysystem::connection()->read('test.txt');

// this is because the local connection is configured to be the default
Flysystem::getDefaultConnection(); // this will return local

// we can change the default connection
Flysystem::setDefaultConnection('foo'); // the default is now foo
```

If you prefer to use dependency injection over facades like me, then you can easily inject the manager like so:

```
use GrahamCampbell\Flysystem\FlysystemManager;
use Illuminate\Support\Facades\App; // you probably have this aliased already

class Foo
{
    protected $flysystem;

    public function __construct(FlysystemManager $flysystem)
    {
        $this->flysystem = $flysystem;
    }

    public function bar()
    {
        $this->flysystem->read('test.txt');
    }
}

App::make('Foo')->bar();
```

For more information on how to use the `\League\Flysystem\Filesystem` class we are calling behind the scenes here, check out the docs at , and the manager class at .

##### Further Information

[](#further-information)

There are other classes in this package that are not documented here. This is because they are not intended for public use and are used internally by this package.

Security
--------

[](#security)

If you discover a security vulnerability within this package, please send an email to Graham Campbell at . All security vulnerabilities will be promptly addressed. You may view our full security policy [here](https://github.com/GrahamCampbell/Laravel-Flysystem/security/policy).

License
-------

[](#license)

Laravel Flysystem is licensed under [The MIT License (MIT)](LICENSE).

For Enterprise
--------------

[](#for-enterprise)

Available as part of the Tidelift Subscription

The maintainers of `graham-campbell/flysystem` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-graham-campbell-flysystem?utm_source=packagist-graham-campbell-flysystem&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 97.6% 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 ~58 days

Recently: every ~74 days

Total

45

Last Release

1923d ago

Major Versions

v4.1.0 → v5.0.02018-03-01

5.3.x-dev → v6.0.02019-06-30

v6.3.0 → v7.0.02020-03-01

v6.3.1 → v7.0.12020-04-14

6.3.x-dev → v7.1.12020-11-27

PHP version history (6 changes)v0.1.0-alphaPHP &gt;=5.4.7

v2.1.0PHP &gt;=5.5.9

v4.0.0PHP ^7.0

v5.0.0PHP ^7.1.3

v7.0.0PHP ^7.2.5

v7.1.0PHP ^7.2.5 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/70475a55ceed628efd9f6550808a73cb933b27c7fa5a86096a9bd63b159499d9?d=identicon)[polisadov](/maintainers/polisadov)

---

Top Contributors

[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (489 commits)")[![polisadov](https://avatars.githubusercontent.com/u/29985731?v=4)](https://github.com/polisadov "polisadov (2 commits)")[![zupolgec](https://avatars.githubusercontent.com/u/161318?v=4)](https://github.com/zupolgec "zupolgec (2 commits)")[![GC-Max](https://avatars.githubusercontent.com/u/10233281?v=4)](https://github.com/GC-Max "GC-Max (1 commits)")[![alexrosenfeld](https://avatars.githubusercontent.com/u/12616422?v=4)](https://github.com/alexrosenfeld "alexrosenfeld (1 commits)")[![nirradi](https://avatars.githubusercontent.com/u/31153448?v=4)](https://github.com/nirradi "nirradi (1 commits)")[![semgovaert](https://avatars.githubusercontent.com/u/5189617?v=4)](https://github.com/semgovaert "semgovaert (1 commits)")[![SudoGetBeer](https://avatars.githubusercontent.com/u/7324694?v=4)](https://github.com/SudoGetBeer "SudoGetBeer (1 commits)")[![lmj0011](https://avatars.githubusercontent.com/u/9396189?v=4)](https://github.com/lmj0011 "lmj0011 (1 commits)")[![danieljaniga](https://avatars.githubusercontent.com/u/3395781?v=4)](https://github.com/danieljaniga "danieljaniga (1 commits)")[![dmoreno](https://avatars.githubusercontent.com/u/66183?v=4)](https://github.com/dmoreno "dmoreno (1 commits)")

---

Tags

Flysystemframeworklaravels3awsfilesGraham CampbellGrahamCampbelldropboxLaravel Flysystem

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/doesntcarewho-modifyed-flysystem/health.svg)

```
[![Health](https://phpackages.com/badges/doesntcarewho-modifyed-flysystem/health.svg)](https://phpackages.com/packages/doesntcarewho-modifyed-flysystem)
```

###  Alternatives

[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M64](/packages/graham-campbell-markdown)[graham-campbell/manager

Manager Provides Some Manager Functionality For Laravel

39221.1M134](/packages/graham-campbell-manager)[graham-campbell/github

GitHub Is A GitHub Bridge For Laravel

6411.7M19](/packages/graham-campbell-github)[graham-campbell/throttle

Throttle Is A Rate Limiter For Laravel

7102.3M11](/packages/graham-campbell-throttle)[graham-campbell/digitalocean

DigitalOcean Is A DigitalOcean Bridge For Laravel

509343.1k2](/packages/graham-campbell-digitalocean)[graham-campbell/exceptions

Provides A Powerful Error Response System For Both Development And Production

5911.3M4](/packages/graham-campbell-exceptions)

PHPackages © 2026

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