PHPackages                             paranoiq/php-zip - 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. paranoiq/php-zip

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

paranoiq/php-zip
================

A pair of PHP classes to generate zip files

v1.40(12y ago)614.1k↓13.3%1LGPL-2.1PHP

Since Nov 6Pushed 12y ago1 watchersCompare

[ Source](https://github.com/paranoiq/PHPZip)[ Packagist](https://packagist.org/packages/paranoiq/php-zip)[ RSS](/packages/paranoiq-php-zip/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

```
A pair of PHP classes to generate zip files.

The projects that started these two classes are hosted on PHPClasses.org at the addresses:
Zip      : http://www.phpclasses.org/package/6110
ZipStream: http://www.phpclasses.org/package/6616

Zip.php generates the Zip file in memory (or tempfile) allowing the parent script to save the final Zip file elsewhere, and/or send it to the user.
ZipStream has much of the same features and functions of Zip.php, with a few notable differences, it does not cache and build the zip file on the server, instead it'll send the file to the user as a stream.

See the examples for example usage. The php files have "some" doumentation in them in the form of Javadoc style function headers.

NOTE: Please ensure that output buffering is disabled when using especially ZipStream. It defeats the purpose of the class, and large zip files may cause a memory exceeded exception.
NOTE2: THe Zip and ZipStream classes support UTF-8 in file paths and file comments, and will autodetect UTF-8 strings to that end, however it is up to the user to ensure that other Multibyte chracter sets aren't sent to the class.

TODO:
* Add compression level (at least "compress or store") to ZipStream, and to the Large file option on Zip.php
* Documentation, no one reads it, but everyone complains if it is missing.
* Better examples to fully cover the capabilities of the Zip classes.
* more TODO's.

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 89.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

Unknown

Total

1

Last Release

4622d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/146912?v=4)[Vlasta Neubauer](/maintainers/paranoiq)[@paranoiq](https://github.com/paranoiq)

---

Top Contributors

[![Grandt](https://avatars.githubusercontent.com/u/1094427?v=4)](https://github.com/Grandt "Grandt (34 commits)")[![paranoiq](https://avatars.githubusercontent.com/u/146912?v=4)](https://github.com/paranoiq "paranoiq (4 commits)")

### Embed Badge

![Health badge](/badges/paranoiq-php-zip/health.svg)

```
[![Health](https://phpackages.com/badges/paranoiq-php-zip/health.svg)](https://phpackages.com/packages/paranoiq-php-zip)
```

PHPackages © 2026

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