PHP code example of atellitech / flysystem-s3-yii2

1. Go to this page and download the library: Download atellitech/flysystem-s3-yii2 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

atellitech / flysystem-s3-yii2 example snippets

=
...
"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
    ]
]