2017 © Pedro PelĂĄez
 

library s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

image

jmathai/s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

  • Thursday, March 2, 2017
  • by jmathai
  • Repository
  • 2 Watchers
  • 46 Stars
  • 32,559 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 13 Forks
  • 6 Open issues
  • 6 Versions
  • 15 % Grown

The README.md

S3BucketStreamZip

Build Status Scrutinizer Code Quality Code Coverage, (*1)

Overview

This library lets you efficiently stream the contents of an S3 bucket/folder as a zip file to the client., (*2)

Installation

Installation is done via composer by adding the a dependency on jmathai/s3-bucket-stream-zip-php., (*3)

composer require jmathai/s3-bucket-stream-zip-php
composer install

Usage

// taken from examples/simple.php
// since large buckets may take lots of time we remove any time limits
set_time_limit(0);
require sprintf('%s/../vendor/autoload.php', __DIR__);

use JMathai\S3BucketStreamZip\S3BucketStreamZip;
use JMathai\S3BucketStreamZip\Exception\InvalidParameterException;

$stream = new S3BucketStreamZip(
            // $auth
            array(
              'key'     => '*********',   // required
              'secret'  => '*********'    // required
            ),
            // $params
            array(
              'Bucket'  => 'bucketname',  // required
              'Prefix'  => 'subfolder/'   // optional (path to folder to stream)
            )
          );

$stream->send('name-of-zipfile-to-send.zip');

Authors

Dependencies

The Versions

02/03 2017

v2.x-dev

2.9999999.9999999.9999999-dev https://github.com/limenet/s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

  Sources   Download

MIT

The Requires

 

The Development Requires

php amazon s3 aws zip stream download

02/03 2017

v2.0

2.0.0.0 https://github.com/limenet/s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

  Sources   Download

MIT

The Requires

 

The Development Requires

php amazon s3 aws zip stream download

29/11 2015

dev-master

9999999-dev https://github.com/jmathai/s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

  Sources   Download

MIT

The Requires

 

The Development Requires

php amazon s3 aws zip stream download

29/11 2015

v1.0

1.0.0.0 https://github.com/jmathai/s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

  Sources   Download

MIT

The Requires

 

The Development Requires

php amazon s3 aws zip stream download

29/11 2015

1.0.1

1.0.1.0 https://github.com/jmathai/s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

  Sources   Download

MIT

The Requires

 

The Development Requires

php amazon s3 aws zip stream download

06/03 2015

1.0.0

1.0.0.0 https://github.com/jmathai/s3-bucket-stream-zip-php

PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file

  Sources   Download

MIT

The Requires

 

The Development Requires

php amazon s3 aws zip stream download