luyadev/luya-aws

LUYA Amazon Webservice 组件。

安装数量: 8,634

依赖关系: 0

建议者: 0

安全: 0

星标: 0

关注者: 5

分支: 1

开放问题: 0

类型:luya-extension

1.7.0 2024-07-03 09:18 UTC

This package is auto-updated.

Last update: 2024-09-03 09:43:13 UTC


README

LUYA Logo

LUYA Amazon S3 文件系统

LUYA Tests Test Coverage Latest Stable Version Total Downloads Slack Support

这是一个为 LUYA 管理界面设计的文件系统,用于存储和检索所有存储数据从 Amazon S3 存储桶。

安装

为了安装文件系统,需要使用 Composer。

composer require luyadev/luya-aws

配置

通过 Composer 安装后,在配置文件中包含存储组件,并在组件部分使用您的凭证。

'components' => [
    //...
    'storage' => [
        'class' => 'luya\aws\S3FileSystem',
        'bucket' => 'BUCKET_NAME',
        'key' => 'KEY',
        'secret' => 'SECRET',
        'region' => 'eu-central-1',
    ]
]