Closed MannikJ closed 4 months ago
Yes. It's just a major rewrite, and I haven't been able to prioritize that just yet. Hopefully soon.
+1
+1
@jszobody do you have a global outline in terms of planning for when the package supports ZipStream V3? 😄 Just planning our application upgrade.
@mbardelmeijer Is this holding back your application upgrade? We have Laravel 11 apps using this package currently without issue. I'm aware of some conflicts with other packages like Spatie's medialibrary, but there should be no obstacle to upgrading Laravel itself.
Otherwise, I hope to work on this in June. This month isn't going to happen.
@jszobody it's indeed due to a conflict with the latest spatie/laravel-medialibrary
package, in combination with spatie/laravel-medialibrary-pro
Thanks for the update there! And thanks for maintaining this package 🙏
@mbardelmeijer If you are zipping files that are handled by spatie/medialibrary, are you aware that medialibrary can fully handle the zip stream? You might not need this package at all.
https://spatie.be/docs/laravel-medialibrary/v11/downloading-media/downloading-multiple-files
(Apologies if I'm telling you something obvious!)
@jszobody thanks for that info! We're indeed not zipping files from the spatie/laravel-medialibrary package, but from different places all together. It just happens that we use both packages in the same project at once :)
@mbardelmeijer Yep, got it. Makes sense.
Any update on this issue? This is currently holding back the update of my Statamic sites, as Statamic 5 now requires "maennchen/zipstream-php": "^3.1"
. Thanks for your work on this wonderful package!
Hello everyone! does anyone know if this problem is going to be fixed? Thanks!
@jszobody do you perhaps have an update on this 😄
Hey everyone. Version 5.0-beta
was tagged this morning.
https://github.com/stechstudio/laravel-zipstream/releases/tag/5.0-beta
This is a pretty major refactor based on maennchen/ZipStream-PHP
3.1. I would appreciate any helping testing this!
Hey everyone. Version
5.0-beta
was tagged this morning.This is a pretty major refactor based on
maennchen/ZipStream-PHP
3.1. I would appreciate any helping testing this!
Works perfectly with our use case (i.e. zipping files using the STS\ZipStream\Models\S3File
model) 💪 -- Thanks!
Works as expected!
Hey everyone. Version
5.0-beta
was tagged this morning.https://github.com/stechstudio/laravel-zipstream/releases/tag/5.0-beta
This is a pretty major refactor based on
maennchen/ZipStream-PHP
3.1. I would appreciate any helping testing this!
@jszobody Works perfectly. Thanks!
Ok v5 was just released as stable. Thanks everyone!
One additional change that was added since the beta: flushOutput
is set to true in the underlying package to reduce buffering. In our testing this dramatically improves the initial zip start time and memory usage. In a test of about 1k files from S3, it was taking 7-10s before the zip response was first received in the browser. With the flush option turned on, this dropped to ~300ms. Memory usage during the zipping process was barely detectable, compared with relatively high memory usage before.
Are there any plans for the near future to upgrade this package to maennchen/ZipStream-PHP v3?