PHP code example of craftcms / aws-s3

1. Go to this page and download the library: Download craftcms/aws-s3 library. Choose the download type require.

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

3. Add this code to the index.php.

/* Start to develop here. Best regards */


craftcms / aws-s3 example snippets

return [
    'myVolumeHandle' => array_filter([
        'bucket' => getenv('S3_BUCKET'),
        'region' => getenv('S3_REGION'),