承接 dumpk/esetres 相关项目开发

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

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

dumpk/esetres

最新稳定版本:0.9.3

Composer 安装命令:

composer require dumpk/esetres

包简介

Laravel AWS S3 Service Integration

README 文档

README

Author Build Status Packagist

Laravel AWS S3 Service Integration to upload files.

Documentation

Installation

Require this package with composer:

composer require dumpk/esetres

Add this variables to your .env with your Amazon credentials

AWS_ACCESS_KEY_ID={AMAZONACCESSKEY}
AWS_SECRET_ACCESS_KEY={SECRETAMAZONSOMETHINGLONG}
AWS_REGION={YOURREGION}

Usage

Add the EsetresAWS class to your class header

use Dumpk\Esetres\EsetresAWS;

The class is a singleton so you only need to call the static methods.

To upload a file:

EsetresAWS::uploadFile($filepath, $key, $bucket);

To delete a file:

EsetresAWS::deleteFile($key, $bucket);

To make a file accesible to everyone:

EsetresAWS::makeFilePublic($key, $bucket);

To check for a file existance:

EsetresAWS::fileExists($key, $bucket);

If you want to get all the file information:

EsetresAWS::getObject($key, $bucket);

Optionally you can pass to the getObject method, a filepath to store the file on your server.

EsetresAWS::getObject($key, $bucket, "/var/www/filepath.txt");

Support

The following support channels can be used for contact.

Bug reports, feature requests, and pull requests can be submitted following our Contribution Guide.

Contributing & Protocols

Roadmap

Will look at future enhancements down the road.

License

This software is released under the MIT License.

© 2015 Nicolás Bistolfi (nbistolfi@gmail.com), All rights reserved.

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固