S3ObjectsStreamZip is a PHP library to stream objects from AWS S3 as a zip file.
Uses AWS SDK Version 3 to stream objects directly from S3.
composer require wgenial/s3-objects-stream-zip-php
See example folder.
aws/aws-sdk-php
maennchen/zipstream-php