PHP code example of joolanders / flysystem-aws-s3-small

1. Go to this page and download the library: Download joolanders/flysystem-aws-s3-small 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/ */

    

joolanders / flysystem-aws-s3-small example snippets

 php


ation = new \Akeeba\Engine\Postproc\Connector\S3v4\Configuration(
    'your-key',
    'your-secret',
    'V2|V4', // optional
    'your-region' // optional
);

$connector = new \Akeeba\Engine\Postproc\Connector\S3v4\Connector($configuration);
$adapter = new \Joolanders\Flysystem\S3Small\S3SmallAdapter($connector, 'your-bucket');
$filesystem = new \League\Flysystem\Filesystem($adapter);