PHP code example of kevindierkx / laravel-s3v2
1. Go to this page and download the library: Download kevindierkx/laravel-s3v2 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/ */
kevindierkx / laravel-s3v2 example snippets
composer
'providers' => [
'Kevindierkx\LaravelS3v2\S3DriverServiceProvider'
]
's3-connection-name' => [
'driver' => 's3-v2',
'key' => env('S3_KEY'),
'secret' => env('S3_SECRET'),
'region' => env('S3_REGION'),
'bucket' => env('S3_BUCKET'),
'base_url' => env('S3_BASE_URL'),
],
config/app.php