NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1765 most downloaded on Packagist
A fast and simple streaming zip file downloader for Laravel.
Latest stable
5.2.1
Last release 1 months ago
10 Oct 2026
Release timing varies
gaps range from 1 weeks to 13 months
Some releases are documented
notes for 16 of 51 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
51 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
If two or more files are added to the zip with the same zip path, you can use ZIPSTREAM_CONFLICT_STRATEGY to configure how the conflict is handled:
If two or more files are added to the zip with the same zip path, you can use ZIPSTREAM_CONFLICT_STRATEGY to configure how the conflict is handled:
ZIPSTREAM_CONFLICT_STRATEGY=skip: Keep the initial file, skip adding the conflicting file (default)ZIPSTREAM_CONFLICT_STRATEGY=replace: Keep the latest file, overwrite previous files at the same pathZIPSTREAM_CONFLICT_STRATEGY=rename: Append a number to the conflicting file name, e.g. file.txt becomes file_1.txtNote: filenames are compared case-insensitive. FILE.txt and file.TXT are considered conflicting. If you are working only on a case-sensitive filesystem you can set ZIPSTREAM_CASE_INSENSITIVE_CONFLICTS=false. Don't do this if you have Windows users opening your zips!
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Fix S3 stream resource leak when zipping many files by @jszobody in https://github.com/stechstudio/laravel-zipstream/pull/135
Full Changelog: https://github.com/stechstudio/laravel-zipstream/compare/5.8...5.9
Laravel 13.x Compatibility by @laravel-shift in https://github.com/stechstudio/laravel-zipstream/pull/134
Full Changelog: https://github.com/stechstudio/laravel-zipstream/compare/5.7...5.8
New addDirectory(string $name) method for adding empty directories to zip.
New addDirectory(string $name) method for adding empty directories to zip.
Suppress headers when saving to disk by @jszobody in https://github.com/stechstudio/laravel-zipstream/pull/130
Full Changelog: https://github.com/stechstudio/laravel-zipstream/compare/5.5...5.6
S3File: use dedicated temp stream to get size by @bayprogrammer in https://github.com/stechstudio/laravel-zipstream/pull/126
Full Changelog: https://github.com/stechstudio/laravel-zipstream/compare/5.4...5.5
## What's Changed * Laravel 12.x Compatibility Full Changelog: https://github.com/stechstudio/laravel-zipstream/compare/5.3...5.4
Full Changelog: https://github.com/stechstudio/laravel-zipstream/compare/5.3...5.4
Fix S3 filenames that include a hash by @cyreb7 in https://github.com/stechstudio/laravel-zipstream/pull/121
Full Changelog: https://github.com/stechstudio/laravel-zipstream/compare/5.2.1...5.3
add support for skip, replace, and rename strategies on zip path conflicts
add support for skip, replace, and rename strategies on zip path conflicts
docs
Allow Guzzle 8 by @bakerkretzmar in https://github.com/stechstudio/laravel-zipstream/pull/138
Full Changelog: https://github.com/stechstudio/laravel-zipstream/compare/5.10...5.11
Add extensible Factory for custom file type registration by @jszobody in https://github.com/stechstudio/laravel-zipstream/pull/136
Full Changelog: https://github.com/stechstudio/laravel-zipstream/compare/5.9...5.10
Nothing published for this version
$zip->has($path) to check if a file already was added
Added:
$zip->has($path) to check if a file already was added$zip->addFromDisk($diskName, $source, $zipPath) to add files using a Laravel storage disk$zip->saveToDisk($diskName, $folder) to save output to a Laravel storage disk$zip->then(function() { // do something after zip is finished sending });$flushOutput to minimize zip buffering and RAM usage and get zip output faster to userThis is a major refactor based on ZipStream 3.1.
This is a major refactor based on ZipStream 3.1.
A few backwards compatible breaks:
STS\ZipStream\ZipStream is now STS\ZipStream\Builder. You may need to update some typehints in your code.STS\ZipStream\ZipStreamFacade is now STS\ZipStream\Facades\Zip. The global Zip alias is still registered.A few ENVs have been renamed:
ZIPSTREAM_FILE_METHOD => ZIPSTREAM_COMPRESSION_METHODZIPSTREAM_FILE_SANITIZE => ZIPSTREAM_ASCII_FILENAMESVersion 5 is a major refactor of this package based on ZipStream 3.1. 🎉
Version 5 is a major refactor of this package based on ZipStream 3.1. 🎉
STS\ZipStream\ZipStream is now STS\ZipStream\Builder. You may need to update some typehints in your code.STS\ZipStream\ZipStreamFacade is now STS\ZipStream\Facades\Zip. The global Zip alias is still registered.ZIPSTREAM_FILE_METHOD is now ZIPSTREAM_COMPRESSION_METHODZIPSTREAM_FILE_SANITIZE is now ZIPSTREAM_ASCII_FILENAMESZip64 now as they are widely supported.X-Accel-Buffering: no is added for nginx. See here.$zip->has($path) to check if a file already was added$zip->addFromDisk($diskName, $source, $zipPath) to add files using a Laravel storage disk$zip->saveToDisk($diskName, $folder) to save output to a Laravel storage disk$zip->then(function() { // do something after zip is finished sending }); to handle any cleanup or other post-zipping tasks$zip->setComment(...) for adding comments to the main zip file$file->setComment(...) for individual file comments (you have to use File::make yourself to have access to the file instance and use this)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This version changes the way S3 clients are created, just a bit. It is only a breaking change if you were previously relying on an empty set of AWS cr…
This version changes the way S3 clients are created, just a bit. It is only a breaking change if you were previously relying on an empty set of AWS credentials to prompt credentials = false in the S3 client. For everyone else this major version is backwards compatible.
For S3 client creation now:
If you have credentials specified in your .env file they are used, as always.
If you have no credentials specified, no credentials are handed to the S3Client. This means the AWS SDK will attempt to find credentials using the default chain.
If you set AWS_ANONYMOUS=true in your .env file, this library will set credentials = false when creating the client, which explicitly creates an anonymous client.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
HTTP URL file sources supported
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.