2017 © Pedro Peláez
 

library aliyun-oss

Wrap for Aliyun OSS SDK and make it more easy to use.

image

ripples/aliyun-oss

Wrap for Aliyun OSS SDK and make it more easy to use.

  • Thursday, October 8, 2015
  • by Ripples
  • Repository
  • 2 Watchers
  • 2 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Aliyun OSS

This is wrapper for Aliyun OSS SDK and make it more easy to use., (*1)

Supporting internal and external endpoints for better operations., (*2)

Installation

This package can be installed through composer., (*3)

composer require ripples/aliyun-oss

Usage

See examples/example.php, (*4)

Your can give both external and internal endpoints when constructing. The last parameter of each method represent whether to use the internal endpoint or the other one., (*5)

By default, we used the internal endpoint except the methods to generate signatured url., (*6)

We use the value of external endpoint as the default value of internal endpoint. So if you don't want to use two endpoints, just omit the internal endpoint when constructing. Then, no matter what parameter you use when call the methods, we will all use the external endpoint., (*7)

If you want to update meta data when copy file, remember to set x-oss-metadata-directive header to REPLACE., (*8)

Be cautious when update meta data. Assume that the init headers are ['a' => 1, 'b' => 2]., (*9)

After modifyMeta('bucket', 'key', ['b' => 3]), the headers would be ['a' => 1, 'b' => 3]., (*10)

After setMeta('bucket', 'key', ['b' => 3]), the headers would be ['b' => 3]., (*11)

Notice that we'll automatic check the response status. And you can modify the attribute ok_status to intervene it., (*12)

Finally, we define the clients as public. So it's ok to call the method of Aliyun SDK directly.

LICENSE

MIT, (*13)

The Versions

08/10 2015

dev-master

9999999-dev https://github.com/JayvicWen/Aliyun-OSS

Wrap for Aliyun OSS SDK and make it more easy to use.

  Sources   Download

MIT

by Avatar Ripples

aliyun oss

08/10 2015

0.1.3

0.1.3.0 https://github.com/JayvicWen/Aliyun-OSS

Wrap for Aliyun OSS SDK and make it more easy to use.

  Sources   Download

MIT

by Avatar Ripples

aliyun oss

03/09 2015

0.1.2

0.1.2.0 https://github.com/JayvicWen/Aliyun-OSS

Wrap for Aliyun OSS SDK and make it more easy to use.

  Sources   Download

GPL

by Avatar Ripples

aliyun oss

03/09 2015

0.1.1

0.1.1.0 https://github.com/JayvicWen/Aliyun-OSS

Wrap for Aliyun OSS SDK and make it more easy to use.

  Sources   Download

GPL

by Avatar Ripples

aliyun oss

02/09 2015

0.1.0

0.1.0.0 https://github.com/JayvicWen/Aliyun-OSS

Wrap for Aliyun OSS SDK and make it more easy to use.

  Sources   Download

GPL

by Avatar Ripples

aliyun oss