PHP code example of lemesdaniel / s3forme

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

    

lemesdaniel / s3forme example snippets


'default' => 's3forme',

'cloud' => 's3forme',

'disks' => [
    ...
    's3forme' => [
        'key' => 'you-key',
        'secret' => 'you-secret-key',
        'visibility' => 'public-read', // or private
        'bucket' => 'image', //name your bucket
        'endpoint'  => 'http://rest.s3for.me',
    ],
    ...
]

'providers' => [
    ...
    Lemesdaniel\S3forme\Providers\S3formeFilesystemServiceProvider::class,
    ...
]