# thephpleague/flysystem

Abstraction for local and remote filesystems

Repository: https://github.com/thephpleague/flysystem
Canonical: https://ross.abutalabs.com/products/flysystem
Homepage: https://flysystem.thephpleague.com
Language: PHP
License: MIT
License Family: permissive
Topics: filesystem, php, thephpleague, filesystem-library
Last push: 2026-08-22T12:56:58+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 4693, "days_push": 11, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13586, forks 861 (observed 2026-08-28T04:11:03.592839+00:00)

## What it is
Flysystem is a PHP file storage library that provides a single unified interface for interacting with many types of filesystems, both local and remote. It ships with adapters for local disks, FTP/SFTP, AWS S3, Google Cloud Storage, Azure Blob, WebDAV, and more, protecting applications from storage vendor lock-in.

## Use cases
- swap local file storage for S3 without rewriting code
- read and write files on FTP or SFTP servers through one API
- store uploads in Google Cloud Storage or Azure Blob Storage
- abstract file operations across multiple storage backends
- avoid vendor lock-in when choosing a cloud storage provider
- use in-memory or zip archive filesystems for testing

## When to choose
- you need a consistent filesystem API across local and cloud storage in PHP
- you want to switch storage providers without changing application code
- you're building a PHP application or framework that supports pluggable storage

## When to avoid
- you only ever target a single storage backend and want minimal dependencies
- you need streaming or performance-critical low-level filesystem access
- you're not working in PHP

## Facets
- artifact type: library
- maturity: stable
- function: file-system, object-storage, sdk
- domain: files, developer-tools, backend, cloud-computing
- platform: php
- tags: file-storage, abstraction-layer, adapters, vendor-lock-in, cloud-storage

## Member repositories
- thephpleague/flysystem (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:03.592839+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:11.068702+00:00, confidence not recorded.
  - readme: https://github.com/thephpleague/flysystem (fetched 2026-08-28T04:11:03.592839+00:00, sha caf7b763e6da)
  - homepage: https://flysystem.thephpleague.com (fetched 2026-08-29T08:07:48.896358+00:00, sha 13d04ca15538)
  - site_page: https://flysystem.thephpleague.com/docs (fetched 2026-08-29T08:07:48.905183+00:00, sha beea9b4a6ef8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
