atellitech/flysystem-s3-yii2

It's an adapter of AWS S3 for Yii2 that integrating with atellitech/flysystem-yii2.

Maintainers

👁 atellitech

Package info

github.com/AtelliTech/flysystem-s3-yii2

Homepage

pkg:composer/atellitech/flysystem-s3-yii2

Statistics

Installs: 17

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2023-02-05 10:28 UTC

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT c4c72735771ec7860edb9d0d8c5d9ac61ffa5ce5

  • Eric Huang <eric.huang.woop@atelli.ai>

filesystems3yii2Flysystem

This package is auto-updated.

Last update: 2026-06-05 17:51:02 UTC


README

It's an adapter of AWS S3 for Yii2 that integrating with atellitech/flysystem-yii2

Supports

Getting Start

Requirements

  • php8.0+

Install

$ /lib/path/composer require atellitech/flysystem-s3-yii2

Usage

AWS S3

Add component into config file of yii2 project
...
"components": [
 "fs" => [
 'class' => 'AtelliTech\\Yii2\\FlysystemAdapterAwsS3',
 'bucketName' => '{bucketName}',
 'pathPrefix' => '{pathPrefix}', default: '' means root path of bucket
 'version' => '{version}', // default: latest
 'key' => '{key}',
 'secret' => '{secret}',
 'region' => '{region}', // default: ap-northeast-1
 ]
]

Async AWS S3

Add component into config file of yii2 project
...
"components": [
 "fs" => [
 'class' => 'AtelliTech\\Yii2\\FlysystemAdapterAwsAsyncS3',
 'bucketName' => '{bucketName}',
 'pathPrefix' => '{pathPrefix}', default: '' means root path of bucket
 'version' => '{version}', // default: latest
 'key' => '{key}',
 'secret' => '{secret}',
 'region' => '{region}', // default: ap-northeast-1
 ]
]