# maennchen/ZipStream-PHP

:floppy_disk: PHP ZIP Streaming Library

Repository: https://github.com/maennchen/ZipStream-PHP
Canonical: https://ross.abutalabs.com/products/zipstream-php
Homepage: https://maennchen.dev/ZipStream-PHP/
Language: PHP
License: MIT
License Family: permissive
Topics: php, zipstream-php, streaming-zip, zip, stream, stream-http
Last push: 2026-08-26T04:30:11+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 54, longevity 100
- inputs: {"age_days": 4676, "days_push": 7, "days_rel": 144, "gap_med": 133.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1896, forks 113 (observed 2026-08-28T04:05:51.045749+00:00)

## What it is
A PHP library for streaming ZIP files directly to clients without writing to disk. It supports PSR-7 streams, S3 buckets, and callback output for efficient on-the-fly ZIP generation.

## Use cases
- stream zip downloads in php without temp files
- send large zip files directly to browser
- build zip on the fly from s3 bucket
- stream zip archive to psr7 stream
- generate downloadable zip of user uploads
- compress files to s3 compatible storage

## When to choose
- you need to serve ZIP downloads from PHP without disk I/O
- files to zip live in S3 or PSR-7 streams
- memory or disk usage must stay low for large archives

## When to avoid
- you need to create ZIP files on disk for later use
- your project is not PHP
- you need advanced archive formats like tar or 7z

## Facets
- artifact type: library
- maturity: stable
- function: compression, file-system, http-server
- domain: files, web-development, backend
- platform: php
- tags: zip, streaming, psr7, s3, composer, web-server

## Member repositories
- maennchen/ZipStream-PHP (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.045749+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:12:50.359151+00:00, confidence not recorded.
  - readme: https://github.com/maennchen/ZipStream-PHP (fetched 2026-08-28T04:05:51.045749+00:00, sha 64e15b587735)
  - homepage: https://maennchen.dev/ZipStream-PHP/ (fetched 2026-08-29T10:51:41.736111+00:00, sha 07c0cedcd375)
- Data as of 2026-08-30T08:39:29.467469+00:00.
