PHPackages                             dimabdc/zipstream64 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. dimabdc/zipstream64

ActiveLibrary[File &amp; Storage](/categories/file-storage)

dimabdc/zipstream64
===================

ZipStream is a library for dynamically streaming large dynamic zip files from PHP without writing to the disk at all on the server.

0.3.0.2(8y ago)015MITPHPPHP &gt;= 5.6

Since Jan 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dimabdc/ZipStream64)[ Packagist](https://packagist.org/packages/dimabdc/zipstream64)[ RSS](/packages/dimabdc-zipstream64/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (3)Versions (12)Used By (0)

ZipStream64
===========

[](#zipstream64)

Streaming Zips with 64bit large file support

Please see the file LICENSE.md for licensing and warranty information (Standard MIT Licence).

Installation
------------

[](#installation)

Easiest installation is via Composer:

```
  "require": {
      "brokencube/zipstream64": "0.1.*"
  }
```

Overview
--------

[](#overview)

A fast and simple streaming zip file downloader for PHP. Here's a simple example:

```
use brokencube\ZipStream\ZipStream;

# Autoload the dependencies
require 'vendor/autoload.php';

# create a new zipstream object
$zip = new ZipStream('example.zip');

# create a file named 'hello.txt'
$zip->addFile('hello.txt', 'This is the contents of hello.txt');

# add a file named 'image.jpg' from a local file 'path/to/image.jpg'
$zip->addFileFromPath('some_image.jpg', 'path/to/image.jpg');

# add a file named 'goodbye.txt' from an open stream resource
$fp = tmpfile();
fwrite($fp, 'The quick brown fox jumped over the lazy dog.');
$zip->addFileFromStream('goodbye.txt', $fp);
fclose($fp);

# add a file named 'farewell.txt' from a PSR7 stream (e.g. Guzzle / AWS)
$amazonS3 = new Sdk()->createS3();
$file = $amazonS3->getObject(['Bucket' => 'bucket.name', 'Key' => 'path/to/farewell.txt']);
$zip->addFileFromPsr7Stream('farewell.txt', $file['Body']);

# finish the zip stream
$zip->finish();
```

Requirements
------------

[](#requirements)

- 64-bit PHP version 5.6 or newer.

Contributors
------------

[](#contributors)

This project leans *very* heavily on previous work of the following projects:

-
-

95% of kudos for this project goes to them!

Some Caveats
------------

[](#some-caveats)

64bit Zips don't work properly with macOS's default Zip library (i.e. used by the built-in unarchive). If you need &gt;4GB Zips on mac, your users will need to use 3rd party software to unzip them. If your zip is going to be smaller, you can turn off 64bit support by calling:

```
$zip = new ZipStream('example.zip', [ZipStream::OPTION_USE_ZIP64 => false]);
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~78 days

Recently: every ~153 days

Total

11

Last Release

3032d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4645687?v=4)[Dmitry Borisevich](/maintainers/dimabdc)[@dimabdc](https://github.com/dimabdc)

---

Top Contributors

[![brokencube](https://avatars.githubusercontent.com/u/3684869?v=4)](https://github.com/brokencube "brokencube (5 commits)")[![dimabdc](https://avatars.githubusercontent.com/u/4645687?v=4)](https://github.com/dimabdc "dimabdc (2 commits)")[![pleaseremove](https://avatars.githubusercontent.com/u/1636879?v=4)](https://github.com/pleaseremove "pleaseremove (1 commits)")

---

Tags

streamzip64bit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dimabdc-zipstream64/health.svg)

```
[![Health](https://phpackages.com/badges/dimabdc-zipstream64/health.svg)](https://phpackages.com/packages/dimabdc-zipstream64)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.1B3.8k](/packages/guzzlehttp-psr7)[maennchen/zipstream-php

ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.

1.9k303.5M185](/packages/maennchen-zipstream-php)[phpzip/phpzip

Package to create and stream archives of compressed files in ZIP format with PHP 5.3+

119879.6k9](/packages/phpzip-phpzip)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35729.6k2](/packages/telnyx-telnyx-php)[barracudanetworks/archivestream-php

A library for dynamically streaming dynamic tar or zip files without the need to have the complete file stored on the server.

77194.3k1](/packages/barracudanetworks-archivestream-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
