mkveksas / flysystem
文件系统抽象:多种文件系统,一个API。
2.0.0-alpha.3
2020-03-21 15:57 UTC
Requires
- php: ^7.2
- ext-json: *
- league/mime-type-detection: ^1.0.0
Requires (Dev)
- aws/aws-sdk-php: ^3.132.4
- phpseclib/phpseclib: ^2.0
- phpstan/phpstan: ^0.12.9
- phpunit/phpunit: ^8.5
Conflicts
- guzzlehttp/ringphp: <1.1.1
- 2.x-dev
- 2.0.0-alpha.3
- 2.0.0-alpha.2
- 2.0.0-alpha.1
- 1.x-dev
- 1.0.67
- 1.0.66
- 1.0.65
- 1.0.64
- 1.0.63
- 1.0.62
- 1.0.61
- 1.0.60
- 1.0.59
- 1.0.58
- 1.0.57
- 1.0.56
- 1.0.55
- 1.0.54
- 1.0.53
- 1.0.52
- 1.0.51
- 1.0.50
- 1.0.49
- 1.0.48
- 1.0.47
- 1.0.46
- 1.0.45
- 1.0.44
- 1.0.43
- 1.0.42
- 1.0.41
- 1.0.40
- 1.0.39
- 1.0.38
- 1.0.37
- 1.0.36
- 1.0.35
- 1.0.34
- 1.0.33
- 1.0.32
- 1.0.31
- 1.0.30
- 1.0.29
- 1.0.28
- 1.0.27
- 1.0.26
- 1.0.25
- 1.0.24
- 1.0.23
- 1.0.22
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-alpha1
- 0.5.12
- 0.5.11
- 0.5.10
- 0.5.9
- 0.5.8
- 0.5.7
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.15
- 0.2.14
- 0.2.13
- 0.2.12
- 0.2.11
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.20
- 0.1.19
- 0.1.18
- 0.1.17
- 0.1.16
- 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
This package is not auto-updated.
Last update: 2024-10-03 10:07:40 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
- 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
- 新浪AppEngine存储: https://github.com/litp/flysystem-sae-storage
- PDO数据库(当使用流时针对大文件优化使用): https://github.com/phlib/flysystem-pdo
- PDO数据库: https://github.com/IntegralSoftware/flysystem-pdo-adapter
- SSH/Shell: https://github.com/oliwierptak/flysystem-ssh-shell
缓存(https://github.com/thephpleague/flysystem-cached-adapter)
- 适配器(使用另一个Flysystem适配器)
- Memcached
- 内存(数组缓存)
- Redis(通过Predis)
- Stash
安全
如果您发现任何安全相关的问题,请发送电子邮件至 info@frankdejonge.nl,而不是使用问题跟踪器。
针对企业
作为Tidelift订阅的一部分提供。
Flysystem的维护者和成千上万的其他软件包维护者正在与Tidelift合作,为您提供商业支持和维护,以支持您构建应用程序时使用的开源依赖项。节省时间,降低风险,并提高代码质量,同时支付您实际使用的依赖项的维护者。了解更多。
享受吧
哦,如果您已经看到这里,不妨在 twitter 上关注我。