This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Aws\S3\S3Client; | |
use League\Flysystem\Filesystem; | |
use League\Flysystem\Adapter\AwsS3 as Adapter; | |
$client = S3Client::factory(array( | |
'key' => '[your key]', | |
'secret' => '[your secret]', | |
'region' => '[aws-region]' | |
)); |