Question about zip stream for large files

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ZipStream-PHP

    :floppy_disk: PHP ZIP Streaming Library

    For downloading I tried this https://github.com/maennchen/ZipStream-PHP and later tried this as well https://github.com/stechstudio/laravel-zipstream but the download "hangs" until all photos are processed (until the loop is done) and only at the end it shows the save dialog. Then when you save it, it's already downloaded, because it downloaded it during that "hang" period. The problem is it looks like a "delay" when user clicks download button. When working with small amount of data that's tolerant, but when I want to download, for example, a few GB, it still downloads it but it's doing it in the background. When I open network tab I see the request is pending and the size column is growing (cause it's downloading files) and then after couple of minutes (it depends on your download speed) it shows a save dialog.

  • laravel-zipstream

    Easily create Zip files on-the-fly and provide a streaming download

    For downloading I tried this https://github.com/maennchen/ZipStream-PHP and later tried this as well https://github.com/stechstudio/laravel-zipstream but the download "hangs" until all photos are processed (until the loop is done) and only at the end it shows the save dialog. Then when you save it, it's already downloaded, because it downloaded it during that "hang" period. The problem is it looks like a "delay" when user clicks download button. When working with small amount of data that's tolerant, but when I want to download, for example, a few GB, it still downloads it but it's doing it in the background. When I open network tab I see the request is pending and the size column is growing (cause it's downloading files) and then after couple of minutes (it depends on your download speed) it shows a save dialog.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts