Registry / utility / league-flysystem

league-flysystem

JSON →
library3.34.0phppackagistunverified

File storage abstraction for PHP

composer require league/flysystem
INSTALL
IMPORT
SIG · LEAGUE-FLYSYSTEM
L
league-flysystem
utilityphpv3.34.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Filesystem
use League\Flysystem\Filesystem;

Write a file using the local adapter

use League\Flysystem\Filesystem; use League\Flysystem\Local\LocalFilesystemAdapter; $adapter = new LocalFilesystemAdapter('/path/to/root'); $filesystem = new Filesystem($adapter); $filesystem->write('file.txt', 'contents');
Debug
Known issues
breakingVersion 3.x has a completely different API from 1.x/2.x
fix
Migrate to the new adapter-based architecture; see upgrade guide
affects: >=3.0
Upgrade
Version history
3.34.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
league-flysystem — pip install league-flysystem · libregistry