承接 kevindierkx/laravel-s3v2 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kevindierkx/laravel-s3v2

最新稳定版本:1.1.0

Composer 安装命令:

composer require kevindierkx/laravel-s3v2

包简介

Adds support for the Aws-S3-v2 SDK

README 文档

README

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.

统计信息

  • 总下载量: 1.16k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-06-20