Question about zip stream for large files

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

Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • CodiumAI - TestGPT | Generating meaningful tests for busy devs
  • SonarQube - Static code analysis for 29 languages.
  • ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
  • 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.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

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