wcy/flysystem

文件系统抽象:多种文件系统,一个API。

维护者

详细信息

gitee.com/wangchunyi/flysystem.git

资助包维护!
其他

1.1.4 2022-05-20 03:02 UTC

This package is not auto-updated.

Last update: 2024-09-21 12:32:15 UTC


README

Author Build Status Software License Packagist Version Total Downloads

Flysystem是一个文件系统抽象,允许你轻松地将本地文件系统替换为远程文件系统。

目标

  • 拥有一个通用的API,用于处理多个文件存储引擎中的常见任务。
  • 拥有一致的输出,你可以依赖。
  • 与其他包/框架良好集成。
  • 可缓存。
  • 在不支持目录的系统(如AWS S3)中模拟目录。
  • 支持第三方插件。
  • 使测试你的文件系统交互变得简单。
  • 支持大文件处理流。

安装

composer require league/flysystem

文档

查看文档

社区集成

想快速开始?查看这些集成之一

  • 备份管理器:[https://github.com/backup-manager/backup-manager](https://github.com/backup-manager/backup-manager)
  • CakePHP集成:[https://github.com/WyriHaximus/FlyPie](https://github.com/WyriHaximus/FlyPie)
  • Cilex集成:[https://github.com/WyriHaximus/cli-fly](https://github.com/WyriHaximus/cli-fly)
  • Drupal:[https://www.drupal.org/project/flysystem](https://www.drupal.org/project/flysystem)
  • elFinder:[https://github.com/barryvdh/elfinder-flysystem-driver](https://github.com/barryvdh/elfinder-flysystem-driver)
  • Laravel集成:[https://github.com/GrahamCampbell/Laravel-Flysystem](https://github.com/GrahamCampbell/Laravel-Flysystem)
  • Nette集成:[https://github.com/contributte/flysystem](https://github.com/contributte/flysystem)
  • Silex集成:[https://github.com/WyriHaximus/SliFly](https://github.com/WyriHaximus/SliFly)
  • Symfony集成
  • Yii 2集成:[https://github.com/creocoder/yii2-flysystem](https://github.com/creocoder/yii2-flysystem)
  • Zend Framework集成:[https://github.com/bushbaby/BsbFlysystem](https://github.com/bushbaby/BsbFlysystem)
  • PSR-11容器:[https://github.com/wshafer/psr11-flysystem](https://github.com/wshafer/psr11-flysystem)

适配器

核心

  • Ftp
  • 本地
  • NullAdapter

官方支持

  • Amazon Web Services - S3 V2:[https://github.com/thephpleague/flysystem-aws-s3-v2](https://github.com/thephpleague/flysystem-aws-s3-v2)
  • Amazon Web Services - S3 V3:[https://github.com/thephpleague/flysystem-aws-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-azure-blob-storage)
  • 内存:[https://github.com/thephpleague/flysystem-memory](https://github.com/thephpleague/flysystem-memory)
  • PHPCR:[https://github.com/thephpleague/flysystem-phpcr](https://github.com/thephpleague/flysystem-phpcr)
  • Rackspace Cloud Files:[https://github.com/thephpleague/flysystem-rackspace](https://github.com/thephpleague/flysystem-rackspace)
  • Sftp(通过phpseclib):[https://github.com/thephpleague/flysystem-sftp](https://github.com/thephpleague/flysystem-sftp)
  • WebDAV(通过SabreDAV):[https://github.com/thephpleague/flysystem-webdav](https://github.com/thephpleague/flysystem-webdav)
  • Zip(通过ZipArchive):[https://github.com/thephpleague/flysystem-ziparchive](https://github.com/thephpleague/flysystem-ziparchive)

社区支持

缓存(https://github.com/thephpleague/flysystem-cached-adapter

  • 适配器(使用其他 Flysystem 适配器)
  • Memcached
  • 内存(数组缓存)
  • Redis(通过 Predis)
  • Stash

安全

如果您发现任何安全相关的问题,请发送电子邮件至 info@frankdejonge.nl,而不是使用问题跟踪器。

对于企业

作为 Tidelift 订阅的一部分提供。

Flysystem 维护者以及成千上万的其他软件包维护者正在与 Tidelift 合作,为构建应用程序时使用的开源依赖项提供商业支持和维护。节省时间,降低风险,并提高代码质量,同时支付您实际使用的依赖项维护者的费用。 了解更多信息。

享受

哦,如果您已经看到这里,不妨关注我的 Twitter