technosun / flysystem
文件系统抽象:多种文件系统,一个API。
3.3.0
2022-09-09 11:11 UTC
Requires
- php: ^8.0.2
- league/mime-type-detection: ^1.0.0
Requires (Dev)
- ext-fileinfo: *
- ext-ftp: *
- ext-zip: *
- async-aws/s3: ^1.5
- async-aws/simple-s3: ^1.0
- aws/aws-sdk-php: ^3.198.1
- composer/semver: ^3.0
- friendsofphp/php-cs-fixer: ^3.5
- google/cloud-storage: ^1.23
- microsoft/azure-storage-blob: ^1.1
- phpseclib/phpseclib: ^3.0.14
- phpstan/phpstan: ^0.12.26
- phpunit/phpunit: ^9.5.11
- sabre/dav: ^4.3.1
Conflicts
- aws/aws-sdk-php: 3.209.31 || 3.210.0
- guzzlehttp/guzzle: <7.0
- guzzlehttp/ringphp: <1.1.1
- phpseclib/phpseclib: 3.0.15
- symfony/http-client: <5.2
- 3.x-dev
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.23
- 3.0.22
- 3.0.21
- 3.0.20
- 3.0.19
- 3.0.18
- 3.0.17
- 3.0.16
- 3.0.15
- 3.0.14
- 3.0.13
- 3.0.12
- 3.0.11
- 3.0.10
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.x-dev
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-RC1
- 2.0.0-beta.3
- 2.0.0-beta.2
- 2.0.0-beta.1
- 2.0.0-alpha.4
- 2.0.0-alpha.3
- 2.0.0-alpha.2
- 2.0.0-alpha.1
- 1.x-dev
- dev-master / 1.1.x-dev
- 1.1.9
- 1.1.8
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- 0.1.15
- 0.1.14
- 0.1.13
- 0.1.12
- 0.1.11
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-feature/3.x/has-directory
- dev-2.x-retry-on-act
- dev-feature/tighten-typehint-for-filesystem-writer-visibility
- dev-Lctrs-fix/exception-thrown-on-null-mime-type
This package is auto-updated.
Last update: 2024-09-11 15:29:09 UTC
README
Flysystem是一个文件系统抽象,允许你轻松地将本地文件系统替换为远程文件系统。
目标
- 有一个通用的API来处理多个文件存储引擎中的常见任务。
- 输出一致,可以信赖。
- 与其他包/框架很好地集成。
- 可缓存。
- 在不支持目录的系统(如AWS S3)中模拟目录。
- 支持第三方插件。
- 使测试文件系统交互变得容易。
- 支持流以处理大文件。
安装
composer require league/flysystem
文档
社区集成
想要快速开始?查看一些这些集成
- 备份管理器:https://github.com/backup-manager/backup-manager
- CakePHP集成:https://github.com/WyriHaximus/FlyPie
- Cilex集成:https://github.com/WyriHaximus/cli-fly
- Drupal:https://www.drupal.org/project/flysystem
- elFinder:https://github.com/barryvdh/elfinder-flysystem-driver
- Laravel集成:https://github.com/GrahamCampbell/Laravel-Flysystem
- Nette集成:https://github.com/contributte/flysystem
- Silex集成:https://github.com/WyriHaximus/SliFly
- Symfony集成
- Yii 2集成:https://github.com/creocoder/yii2-flysystem
- Zend Framework集成:https://github.com/bushbaby/BsbFlysystem
- PSR-11容器:https://github.com/wshafer/psr11-flysystem
适配器
核心
- Ftp
- 本地
- NullAdapter
官方支持
- Amazon Web Services - S3 V2:https://github.com/thephpleague/flysystem-aws-s3-v2
- Amazon Web Services - S3 V3:https://github.com/thephpleague/flysystem-aws-s3-v3
- Azure Blob Storage:https://github.com/thephpleague/flysystem-azure-blob-storage
- 内存:https://github.com/thephpleague/flysystem-memory
- PHPCR:https://github.com/thephpleague/flysystem-phpcr
- Rackspace Cloud Files:https://github.com/thephpleague/flysystem-rackspace
- Sftp(通过phpseclib):https://github.com/thephpleague/flysystem-sftp
- WebDAV(通过SabreDAV):https://github.com/thephpleague/flysystem-webdav
- Zip(通过ZipArchive):https://github.com/thephpleague/flysystem-ziparchive
社区支持
- 阿里云OSS存储: https://github.com/xxtime/flysystem-aliyun-oss
- 阿里云OSS存储: https://github.com/kaysonwu/flysystem-aliyun-oss
- 亚马逊云驱动器: https://github.com/nikkiii/flysystem-acd
- AsyncAws: https://github.com/async-aws/flysystem-s3
- Azure文件存储: https://github.com/academe/flysystem-azure-file-storage
- Backblaze: https://github.com/mhetreramesh/flysystem-backblaze
- Chroot (来自子文件夹的文件系统): https://github.com/fisharebest/flysystem-chroot-adapter
- ClamAV扫描适配器: https://github.com/mgriego/flysystem-clamav
- Citrix ShareFile: https://github.com/kapersoft/flysystem-sharefile
- Cloudinary: https://github.com/enl/flysystem-cloudinary
- Dropbox (支持PHP 5.6): https://github.com/srmklive/flysystem-dropbox-v2
- Dropbox: https://github.com/spatie/flysystem-dropbox
- 回退: https://github.com/Litipk/flysystem-fallback-adapter
- Gaufrette: https://github.com/jenkoian/flysystem-gaufrette
- GitHub: https://github.com/Radiergummi/flysystem-github-storage
- GitLab: https://github.com/RoyVoetman/Flysystem-Gitlab-storage
- 谷歌云存储: https://github.com/Superbalist/flysystem-google-storage
- 谷歌驱动器: https://github.com/nao-pon/flysystem-google-drive
- 谷歌驱动器V2(使用常规路径): https://github.com/masbug/flysystem-google-drive-ext
- IBM云对象存储: https://github.com/tavux/flysystem-ibm-cos
- OneDrive: https://github.com/jacekbarecki/flysystem-onedrive
- OpenStack Swift: https://github.com/nimbusoftltd/flysystem-openstack-swift
- 七牛OSS存储: https://github.com/l396635210/flysystem-qiniu
- RAID: https://github.com/PHPGuus/flysystem-raid
- Redis(通过Predis): https://github.com/danhunsaker/flysystem-redis
- Selectel云存储: https://github.com/ArgentCrusade/flysystem-selectel
- SinaAppEngine存储: https://github.com/litp/flysystem-sae-storage
- SharePoint: https://gitlab.com/cadix/flysystem-sharepoint-adapter
- PDO数据库(优化用于与大型文件一起使用流时): https://github.com/phlib/flysystem-pdo
- PDO数据库: https://github.com/IntegralSoftware/flysystem-pdo-adapter
- SSH/Shell: https://github.com/oliwierptak/flysystem-ssh-shell
- 腾讯云COS存储:https://github.com/chunpat/flysystem-tencent-cos
缓存(https://github.com/thephpleague/flysystem-cached-adapter)
- 适配器(使用另一个Flysystem适配器)
- Memcached
- 内存(数组缓存)
- Redis(通过Predis)
- Stash
安全
如果您发现任何安全相关的问题,请发送电子邮件至 info@frankdejonge.nl 而不是使用问题跟踪器。
对于企业
作为Tidelift订阅的一部分提供。
Flysystem和其他数千个软件包的维护人员正在与Tidelift合作,为您的应用程序构建时使用的开源依赖项提供商业支持和维护。节省时间,降低风险,并提高代码质量,同时支付您确切使用的依赖项的维护人员。了解更多信息:点击这里。
享受
哦,如果您已经看到这里,也许您会考虑关注我的 twitter。