limenet/s3-bucket-stream-zip-php

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

v3.0.2 2017-07-23 17:41 UTC

This package is auto-updated.

Last update: 2024-04-07 04:23:07 UTC


README

Build Status Scrutinizer Code Quality Code Coverage

Forked from jmathai/s3-bucket-stream-zip-php and michaeltlee/s3-bucket-stream-zip-php

Overview

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

Uses v3 of AWS SDK to stream files directly from S3.

Installation

composer require limenet/s3-bucket-stream-zip-php

Usage

See examples/simple.php.

Laravel 5.4

in config/app.php:

'providers' => [
    ...
    limenet\S3BucketStreamZip\AwsZipStreamServiceProvider::class,
    ...
]

in config/services.php, set:

's3' => [
    'key'     => '',
    'secret'  => '',
    'region'  => '',
    'version' => '',
];

Authors

Dependencies