PHPackages                             mkveksas/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. [File &amp; Storage](/categories/file-storage)
4. /
5. mkveksas/flysystem

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

mkveksas/flysystem
==================

Filesystem abstraction: Many filesystems, one API.

1.0.67(6y ago)05MITPHPPHP &gt;=5.5.9

Since Oct 28Pushed 6y agoCompare

[ Source](https://github.com/mkveksas/flysystem)[ Packagist](https://packagist.org/packages/mkveksas/flysystem)[ Fund](https://offset.earth/frankdejonge)[ RSS](/packages/mkveksas-flysystem/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (136)Used By (0)

League\\Flysystem
=================

[](#leagueflysystem)

[![Author](https://camo.githubusercontent.com/b9e526851cdefc2067ee75a43fd0c07644f5b9a88111e7ca05e6457f906524a4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d406672616e6b64656a6f6e67652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/frankdejonge)[![Build Status](https://camo.githubusercontent.com/af456951adaef8bd0a55d668110e7f9dafd2d25408cc075c1d64c520e17299e2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7468657068706c65616775652f666c7973797374656d2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/thephpleague/flysystem)[![Coverage Status](https://camo.githubusercontent.com/0efcb1fbebc85de3d22f573b3e6ba6cd1b8dc5694f823b660816d4fbba3eba5c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7468657068706c65616775652f666c7973797374656d2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thephpleague/flysystem/code-structure)[![Quality Score](https://camo.githubusercontent.com/ac205e6bf3d2f2b3839e12f06b25ee7cf6c836ea9200f69aa2ef3f733c7c7ab8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7468657068706c65616775652f666c7973797374656d2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thephpleague/flysystem)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/d139ed1acae4a5eed42e3a24aafbe2daa78099ccb37e20723e47b43af46ebe9a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c65616775652f666c7973797374656d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/league/flysystem)[![Total Downloads](https://camo.githubusercontent.com/9b8fe990202aef5acede08b8283e085a42ff5bae096dbdca0c97e24790596ba9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c65616775652f666c7973797374656d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/league/flysystem)

Flysystem is a filesystem abstraction which allows you to easily swap out a local filesystem for a remote one.

Goals
-----

[](#goals)

- Have a generic API for handling common tasks across multiple file storage engines.
- Have consistent output which you can rely on.
- Integrate well with other packages/frameworks.
- Be cacheable.
- Emulate directories in systems that don't support them, like AWS S3.
- Support third party plugins.
- Make it easy to test your filesystem interactions.
- Support streams for big file handling.

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

[](#installation)

```
composer require league/flysystem

```

Documentation
-------------

[](#documentation)

[Check out the documentation](https://flysystem.thephpleague.com/)

Community Integrations
----------------------

[](#community-integrations)

Want to get started quickly? Check out some of these integrations:

- Backup manager:
- CakePHP integration:
- Cilex integration:
- Drupal:
- elFinder:
- Laravel integration:
- Nette integration:
- Silex integration:
- Symfony integration:
    -
    -
- Yii 2 integration:
- Zend Framework integration:
- PSR-11 containers:

Adapters
--------

[](#adapters)

### Core

[](#core)

- Ftp
- Local
- NullAdapter

### Officially Supported

[](#officially-supported)

- Amazon Web Services - S3 V2:
- Amazon Web Services - S3 V3:
- Azure Blob Storage:
- Memory:
- PHPCR:
- Rackspace Cloud Files:
- Sftp (through phpseclib):
- WebDAV (through SabreDAV):
- Zip (through ZipArchive):

### Community Supported

[](#community-supported)

- AliYun OSS Storage:
- AliYun OSS Storage:
- Amazon Cloud Drive -
- Azure File Storage:
- Backblaze:
- Chroot (filesystem from subfolder):
- ClamAV Scanner Adapter:
- Citrix ShareFile:
- Cloudinary:
- Dropbox (with PHP 5.6 support):
- Dropbox:
- Fallback:
- Gaufrette:
- GitHub:
- GitLab:
- Google Cloud Storage:
- Google Drive:
- Google Drive V2 (using regular paths):
- IBM Cloud Object Storage :
- OneDrive:
- OpenStack Swift:
- QiNiu OSS Storage:
- RAID:
- Redis (through Predis):
- Selectel Cloud Storage:
- SinaAppEngine Storage:
- PDO Database (optimised for use with large files when using the streams):
- PDO Database:
- SSH/Shell:

Caching ()
--------------------------------------------------------------------

[](#caching-httpsgithubcomthephpleagueflysystem-cached-adapter)

- Adapter (using another Flysystem adapter)
- Memcached
- Memory (array caching)
- Redis (through Predis)
- Stash

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

For enterprise
--------------

[](#for-enterprise)

Available as part of the Tidelift Subscription.

The maintainers of 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-league-flysystem?utm_source=packagist-league-flysystem&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

Enjoy
-----

[](#enjoy)

Oh and if you've come down this far, you might as well follow me on [twitter](https://twitter.com/frankdejonge).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 82.5% 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 ~17 days

Recently: every ~5 days

Total

136

Last Release

2232d ago

Major Versions

0.5.12 → 1.0.0-alpha12015-01-18

1.0.65 → 2.0.0-alpha.12020-03-09

1.0.66 → 2.x-dev2020-03-21

PHP version history (4 changes)0.5.0PHP &gt;=5.4.0

1.0.29PHP &gt;=5.6.0

1.0.30PHP &gt;=5.5.9

2.0.0-alpha.1PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/abe814f5486bca17114e78fae9a5723441a5dfc1f867fd481c537f43b3080aac?d=identicon)[mkveksas](/maintainers/mkveksas)

---

Top Contributors

[![frankdejonge](https://avatars.githubusercontent.com/u/534693?v=4)](https://github.com/frankdejonge "frankdejonge (1210 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (73 commits)")[![twistor](https://avatars.githubusercontent.com/u/42400?v=4)](https://github.com/twistor "twistor (43 commits)")[![TechAlchemistry](https://avatars.githubusercontent.com/u/4455837?v=4)](https://github.com/TechAlchemistry "TechAlchemistry (16 commits)")[![mhlavac](https://avatars.githubusercontent.com/u/743421?v=4)](https://github.com/mhlavac "mhlavac (8 commits)")[![woodsae](https://avatars.githubusercontent.com/u/26761?v=4)](https://github.com/woodsae "woodsae (8 commits)")[![K-Phoen](https://avatars.githubusercontent.com/u/66958?v=4)](https://github.com/K-Phoen "K-Phoen (7 commits)")[![holtkamp](https://avatars.githubusercontent.com/u/776405?v=4)](https://github.com/holtkamp "holtkamp (7 commits)")[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (6 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (6 commits)")[![4d47](https://avatars.githubusercontent.com/u/729919?v=4)](https://github.com/4d47 "4d47 (5 commits)")[![akshay-kh](https://avatars.githubusercontent.com/u/36025472?v=4)](https://github.com/akshay-kh "akshay-kh (5 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (5 commits)")[![cramiro](https://avatars.githubusercontent.com/u/432391?v=4)](https://github.com/cramiro "cramiro (5 commits)")[![creocoder](https://avatars.githubusercontent.com/u/896494?v=4)](https://github.com/creocoder "creocoder (5 commits)")[![eddycek](https://avatars.githubusercontent.com/u/1696274?v=4)](https://github.com/eddycek "eddycek (5 commits)")[![wired00](https://avatars.githubusercontent.com/u/1291436?v=4)](https://github.com/wired00 "wired00 (5 commits)")[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (5 commits)")[![RoyVoetman](https://avatars.githubusercontent.com/u/23026444?v=4)](https://github.com/RoyVoetman "RoyVoetman (4 commits)")[![sparkweb](https://avatars.githubusercontent.com/u/1682258?v=4)](https://github.com/sparkweb "sparkweb (4 commits)")

---

Tags

ftpfilesystemabstractions3awscloudsftpfilesstorageWebDAVfilesystemsremotedropboxrackspacecopy.comCloud Filesfile systems

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)

PHPackages © 2026

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