PHP code example of polevaultweb / s3-filesystem

1. Go to this page and download the library: Download polevaultweb/s3-filesystem 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/ */

    

polevaultweb / s3-filesystem example snippets


$I = new AcceptanceTester( $scenario );

$I->setBucket( 'my-bucket' );
$I->seeFile( 'path/to/file.jpg' );
$I->seeBucketLocation( 'eu-west-1' );

$I = new AcceptanceTester( $scenario );

$I->setBucket( 'my-bucket' )->seeFile( 'path/to/file.jpg' );