Skip to content

Instantly share code, notes, and snippets.

View Sudeepa-Galahad's full-sized avatar
🎣
Chilling

Sudeepa Alex Sudeepa-Galahad

🎣
Chilling
View GitHub Profile
@Sudeepa-Galahad
Sudeepa-Galahad / build-zip-from-s3.php
Created September 16, 2021 08:43 — forked from jeremeamia/build-zip-from-s3.php
Create a zip from objects from S3.
<?php
// These are just the basics for how to do this. Notes:
// - Not fully tested.
// - Not suitable for production.
// - May not work well if large ammounts of data.
// - Requires AWS SDK for PHP and http://php.net/manual/en/book.zip.php
require '/path/to/sdk-or-autoloader';