PHP code example of luyadev / luya-aws
1. Go to this page and download the library: Download luyadev/luya-aws 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/ */
luyadev / luya-aws example snippets
'components' => [
//...
'storage' => [
'class' => 'luya\aws\S3FileSystem',
'bucket' => 'BUCKET_NAME',
'key' => 'KEY',
'secret' => 'SECRET',
'region' => 'eu-central-1',
]
]