PHP code example of quioteframework / cloud-s3
1. Go to this page and download the library: Download quioteframework/cloud-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.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
quioteframework / cloud-s3 example snippets
$client = new \Quiote\Storage\S3\S3Client(
httpClient: $psr18Client,
region: 'eu-west-1',
accessKeyId: getenv('AWS_ACCESS_KEY_ID'),
secretAccessKey: getenv('AWS_SECRET_ACCESS_KEY'),
bucket: 'my-bucket',
);