2017 © Pedro Peláez
 

library amazons3

A simple aws s3 class

image

buuum/amazons3

A simple aws s3 class

  • Monday, December 18, 2017
  • by buuum
  • Repository
  • 2 Watchers
  • 0 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 411 % Grown

The README.md

# AmazonS3 - Simple Amazon S3 class

Packagist license, (*1)

Install

System Requirements

You need PHP >= 5.5.0 to use Buuum\AmazonS3 but the latest stable version of PHP is recommended., (*2)

Composer

Buuum\S3 is available on Packagist and can be installed using Composer:, (*3)

composer require buuum/amazons3

Manually

You may use your own autoloader as long as it follows PSR-0 or PSR-4 standards. Just put src directory contents in your vendor directory., (*4)

CONSTANTS

const ACL_PRIVATE = 'private';
const ACL_PUBLIC_READ = 'public-read';
const ACL_PUBLIC_READ_WRITE = 'public-read-write';
const ACL_AUTHENTICATED_READ = 'authenticated-read';

const STORAGE_CLASS_STANDARD = 'STANDARD';
const STORAGE_CLASS_RRS = 'REDUCED_REDUNDANCY';
const STORAGE_CLASS_STANDARD_IA = 'STANDARD_IA';

USAGE

INITIALIZE

$s3 = new S3($config_key, $config_secret, $config_bucket);
$s3->setDefaultHeaders([
    'Cache-Control' => 'max-age=2592000',
    'Expires'       => 2592000,
]);

The Versions

18/12 2017

dev-master

9999999-dev https://github.com/buuum/AmazonS3

A simple aws s3 class

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Alfons Martinez

s3 aws s3

18/12 2017

v1.0.0

1.0.0.0 https://github.com/buuum/AmazonS3

A simple aws s3 class

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Alfons Martinez

s3 aws s3