aclyte / flysystem
Filesystem abstraction: Many filesystems, one API. Maintained Flysystem 1.x fork with PHP 8.4 support.
Requires
- php: ^7.2.5 || ^8.0
- ext-fileinfo: *
- league/mime-type-detection: ^1.3
Requires (Dev)
- phpspec/prophecy: ^1.11.1
- phpunit/phpunit: ^8.5.8
Suggests
- ext-ftp: Allows you to use FTP server storage
- ext-openssl: Allows you to use FTPS server storage
- league/flysystem-aws-s3-v2: Allows you to use S3 storage with AWS SDK v2
- league/flysystem-aws-s3-v3: Allows you to use S3 storage with AWS SDK v3
- league/flysystem-azure: Allows you to use Windows Azure Blob storage
- league/flysystem-cached-adapter: Flysystem adapter decorator for metadata caching
- league/flysystem-eventable-filesystem: Allows you to use EventableFilesystem
- league/flysystem-rackspace: Allows you to use Rackspace Cloud Files
- league/flysystem-sftp: Allows you to use SFTP server storage via phpseclib
- league/flysystem-webdav: Allows you to use WebDAV storage
- league/flysystem-ziparchive: Allows you to use ZipArchive adapter
- spatie/flysystem-dropbox: Allows you to use Dropbox storage
- srmklive/flysystem-dropbox-v2: Allows you to use Dropbox storage for PHP 5 applications
Conflicts
- league/flysystem-sftp: <1.0.6
README
Maintained fork of League Flysystem 1.x with PHP 8.4 compatibility.
Namespace stays League\Flysystem\, so this package is a drop-in replacement for league/flysystem ^1.0.
Why this fork?
Upstream Flysystem 1.x is no longer maintained for newer PHP versions. This fork keeps the 1.x API and adds fixes needed to run on PHP 8.4 (including explicit nullable parameter types).
Requirements
- PHP
^7.2.5 || ^8.0 ext-fileinfo
Installation
composer require aclyte/flysystem:^1.1
If another package still requires league/flysystem, this package replaces it via Composer’s replace field. You can also pin it explicitly:
{
"require": {
"aclyte/flysystem": "^1.1.11"
}
}
Documentation
API and adapters are the same as Flysystem 1.x. See the original documentation.
Security
If you discover a security issue in this fork, open a private security advisory or an issue on GitHub.
License
MIT. Original copyright belongs to Frank de Jonge and contributors; see LICENSE.