technosun/flysystem
Composer 安装命令:
composer require technosun/flysystem
包简介
Filesystem abstraction: Many filesystems, one API.
README 文档
README
Flysystem is a filesystem abstraction which allows you to easily swap out a local filesystem for a remote one.
Goals
- Have a generic API for handling common tasks across multiple file storage engines.
- Have consistent output which you can rely on.
- Integrate well with other packages/frameworks.
- Be cacheable.
- Emulate directories in systems that don't support them, like AWS S3.
- Support third party plugins.
- Make it easy to test your filesystem interactions.
- Support streams for big file handling.
Installation
composer require league/flysystem
Documentation
Community Integrations
Want to get started quickly? Check out some of these integrations:
- Backup manager: https://github.com/backup-manager/backup-manager
- CakePHP integration: https://github.com/WyriHaximus/FlyPie
- Cilex integration: https://github.com/WyriHaximus/cli-fly
- Drupal: https://www.drupal.org/project/flysystem
- elFinder: https://github.com/barryvdh/elfinder-flysystem-driver
- Laravel integration: https://github.com/GrahamCampbell/Laravel-Flysystem
- Nette integration: https://github.com/contributte/flysystem
- Silex integration: https://github.com/WyriHaximus/SliFly
- Symfony integration:
- Yii 2 integration: https://github.com/creocoder/yii2-flysystem
- Zend Framework integration: https://github.com/bushbaby/BsbFlysystem
- PSR-11 containers: https://github.com/wshafer/psr11-flysystem
Adapters
Core
- Ftp
- Local
- NullAdapter
Officially Supported
- 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
- Memory: https://github.com/thephpleague/flysystem-memory
- PHPCR: https://github.com/thephpleague/flysystem-phpcr
- Rackspace Cloud Files: https://github.com/thephpleague/flysystem-rackspace
- Sftp (through phpseclib): https://github.com/thephpleague/flysystem-sftp
- WebDAV (through SabreDAV): https://github.com/thephpleague/flysystem-webdav
- Zip (through ZipArchive): https://github.com/thephpleague/flysystem-ziparchive
Community Supported
- AliYun OSS Storage: https://github.com/xxtime/flysystem-aliyun-oss
- AliYun OSS Storage: https://github.com/kaysonwu/flysystem-aliyun-oss
- Amazon Cloud Drive - https://github.com/nikkiii/flysystem-acd
- AsyncAws - https://github.com/async-aws/flysystem-s3
- Azure File Storage: https://github.com/academe/flysystem-azure-file-storage
- Backblaze: https://github.com/mhetreramesh/flysystem-backblaze
- Chroot (filesystem from subfolder): https://github.com/fisharebest/flysystem-chroot-adapter
- ClamAV Scanner Adapter: https://github.com/mgriego/flysystem-clamav
- Citrix ShareFile: https://github.com/kapersoft/flysystem-sharefile
- Cloudinary: https://github.com/enl/flysystem-cloudinary
- Dropbox (with PHP 5.6 support): https://github.com/srmklive/flysystem-dropbox-v2
- Dropbox: https://github.com/spatie/flysystem-dropbox
- Fallback: 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
- Google Cloud Storage: https://github.com/Superbalist/flysystem-google-storage
- Google Drive: https://github.com/nao-pon/flysystem-google-drive
- Google Drive V2 (using regular paths): https://github.com/masbug/flysystem-google-drive-ext
- IBM Cloud Object Storage : https://github.com/tavux/flysystem-ibm-cos
- OneDrive: https://github.com/jacekbarecki/flysystem-onedrive
- OpenStack Swift: https://github.com/nimbusoftltd/flysystem-openstack-swift
- QiNiu OSS Storage: https://github.com/l396635210/flysystem-qiniu
- RAID: https://github.com/PHPGuus/flysystem-raid
- Redis (through Predis): https://github.com/danhunsaker/flysystem-redis
- Selectel Cloud Storage: https://github.com/ArgentCrusade/flysystem-selectel
- SinaAppEngine Storage: https://github.com/litp/flysystem-sae-storage
- SharePoint https://gitlab.com/cadix/flysystem-sharepoint-adapter
- PDO Database (optimised for use with large files when using the streams): https://github.com/phlib/flysystem-pdo
- PDO Database: https://github.com/IntegralSoftware/flysystem-pdo-adapter
- SSH/Shell: https://github.com/oliwierptak/flysystem-ssh-shell
- Tencent Cloud COS Storage: https://github.com/chunpat/flysystem-tencent-cos
Caching (https://github.com/thephpleague/flysystem-cached-adapter)
- Adapter (using another Flysystem adapter)
- Memcached
- Memory (array caching)
- Redis (through Predis)
- Stash
Security
If you discover any security related issues, please email info@frankdejonge.nl instead of using the issue tracker.
For enterprise
Available as part of the Tidelift Subscription.
The maintainers of Flysystem and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.
Enjoy
Oh and if you've come down this far, you might as well follow me on twitter.
technosun/flysystem 适用场景与选型建议
technosun/flysystem 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 88 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 09 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「file」 「filesystem」 「storage」 「s3」 「WebDAV」 「cloud」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 technosun/flysystem 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 technosun/flysystem 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 technosun/flysystem 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A SDK for working with B2 cloud storage.
A PHP class providing static methods for reading, writing, copying, moving, and deleting files and directories, MIME type detection, image size detection, and file permission management
Small library to access Microsoft Windows Azure Blob Storage with a Service or a StreamWrapper.
The file manager intended for using Laravel with CKEditor / TinyMCE / Colorbox
The flysystem adapter for yandex disk rest api.
A sleek PHP wrapper around rclone with Laravel-style fluent API syntax
统计信息
- 总下载量: 88
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 19
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-11