santhapa/elfinder-aws-s3

为 elFinder 的 AWS S3 文件系统

1.0.1 2022-03-13 13:48 UTC

This package is auto-updated.

Last update: 2024-09-13 19:12:51 UTC


README

此包引用自 https://github.com/barryvdh/elfinder-flysystem-driver。由于它不支持 PHP8 和 https://github.com/thephpleague/flysystem v3,已修改以兼容。

此包为 elFinder 添加了一个 VolumeDriver,以便使用 Flysystem 作为系统的根。您需要安装 elFinder 2.1。您可以从 https://github.com/Studio-42/elFinder 下载源代码或夜间版本。

在您的 composer.json 中添加此包并更新 composer。

composer require santhapa/elfinder-aws-s3

这将需要 Flysystem,并且此包中包含了 AwsS3 适配器。对于其他适配器以适应您的需求。更多信息请参阅 https://github.com/thephpleague/flysystem

基本用法

请参考 example/init.php 了解连接器配置。它提供了配置 Aws S3 作为文件系统的选项。

您可以使用任何文件系统并根据您的需求进行配置。