Package Data | |
---|---|
Maintainer Username: | kevindierkx |
Maintainer Contact: | contact@kevindierkx.com (Kevin Dierkx) |
Package Create Date: | 2015-06-20 |
Package Last Update: | 2016-11-04 |
Home Page: | |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-12-19 03:03:23 |
Package Statistics | |
---|---|
Total Downloads: | 1,161 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 2 |
Total Open Issues: | 0 |
This package adds support for the Aws-S3-v2 SDK. Some S3 compatible providers don't support the newest version of the SDK.
To install this package you will need:
You can modify your composer.json file and run composer update to include the latest version of the package in your project:
"require": {
"kevindierkx/laravel-s3v2": "1.1.*"
}
Or you can run the composer require command from your terminal:
composer require kevindierkx/laravel-s3v2:1.1.*
Once the package is installed you will need to open config/app.php
and register the required service provider:
'providers' => [
'Kevindierkx\LaravelS3v2\S3DriverServiceProvider'
]
Use the s3-v2
driver in your S3 configuration. With the base_url
parameter you can specify a different endpoint.
'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'),
],
The MIT License (MIT). Please see License File for more information.