limenet / s3-bucket-stream-zip-php
PHP library to efficiently stream contents from an AWS S3 bucket or folder as a zip file
Installs: 13 933
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 16
Open Issues: 0
Requires
- php: >=7.0
- aws/aws-sdk-php: ^3.0
- maennchen/zipstream-php: ^0.4
Requires (Dev)
- phpunit/phpunit: ~5.0
README
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
- Jaisen Mathai jaisen@jmathai.com - http://jaisenmathai.com
- @Michaeltlee
- Linus Metzler hi@linusmetzler.me - https://linusmetzler.me
Dependencies
- Paul Duncan pabs@pablotron.org - http://pablotron.org/
- Jonatan Männchen jonatan@maennchen.ch - http://commanders.ch
- Jesse G. Donat donatj@gmail.com - https://donatstudios.com