kevindierkx/laravel-s3v2
| Install | |
|---|---|
composer require kevindierkx/laravel-s3v2 |
|
| Latest Version: | 1.1.0 |
| PHP: | >=5.4.0 |
| Last Updated: | Nov 4, 2016 |
| Links: | GitHub · Packagist |
Laravel 5.x Aws-S3-v2 SDK driver
This package adds support for the Aws-S3-v2 SDK. Some S3 compatible providers don't support the newest version of the SDK.
Installation
To install this package you will need:
- Laravel 5+
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'
]
Usage
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'),
],
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.1.0 | >=5.4.0 | 5.1.*| | ||
| 1.0.1 | >=5.4.0 | 5.1.*| | ||
| 1.0.0 | >=5.4.0 | 5.1.* |