Skip to content

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

License

Notifications You must be signed in to change notification settings

limenet/s3-bucket-stream-zip-php

 
 

Repository files navigation

S3BucketStreamZip

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%