PHPackages                             cosmin-ciolacu/zipper - 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. cosmin-ciolacu/zipper

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

cosmin-ciolacu/zipper
=====================

A simple zip utility for creating zip files and extracting items to a specific path

1.0.0(1y ago)011MITPHP

Since Jul 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Cosmin-Ciolacu/zipper)[ Packagist](https://packagist.org/packages/cosmin-ciolacu/zipper)[ RSS](/packages/cosmin-ciolacu-zipper/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Zipper
======

[](#zipper)

A simple tool to zip and unzip files. It is a wrapper around the ZipArchive class in PHP.

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

[](#requirements)

- PHP 7.4 or higher
- PHP Zip extension

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

[](#installation)

```
composer require cosmin-ciolacu/zipper
```

Usage
-----

[](#usage)

```
use CosminCiolacu\Zipper\Zipper;

// create zip with files
$zipPath = 'path/to/zip.zip';
$files = ['path/to/file1.txt', 'path/to/file2.txt'];

Zipper::createZip($zipPath, $files);

// unzip
$unzipPath = 'path/to/unzip';
Zipper::unzip($zipPath, $unzipPath);
```

if the zip path is not found, it will throw FailedToOpenZipFileException.

```
use CosminCiolacu\Zipper\Exceptions\FailedToOpenZipFileException;

try {
    Zipper::unzip('path/to/zip.zip', 'path/to/unzip');
} catch (FailedToOpenZipFileException $e) {
    echo $e->getMessage();
}
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Testing
-------

[](#testing)

```
./vendor/bin/pest
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

714d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9890402abd7b2eda674d1e8467b251c3cbaec8b10276ffdc1b1376bf011e9f39?d=identicon)[Ciolacu Cosmin](/maintainers/Ciolacu%20Cosmin)

---

Top Contributors

[![Cosmin-Ciolacu](https://avatars.githubusercontent.com/u/37322408?v=4)](https://github.com/Cosmin-Ciolacu "Cosmin-Ciolacu (2 commits)")

---

Tags

zipzipperzipper-phpzipper-library

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/cosmin-ciolacu-zipper/health.svg)

```
[![Health](https://phpackages.com/badges/cosmin-ciolacu-zipper/health.svg)](https://phpackages.com/packages/cosmin-ciolacu-zipper)
```

###  Alternatives

[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.9k313.0M203](/packages/maennchen-zipstream-php)[nelexa/zip

PhpZip is a php-library for extended work with ZIP-archives. Open, create, update, delete, extract and get info tool. Supports appending to existing ZIP files, WinZip AES encryption, Traditional PKWARE Encryption, BZIP2 compression, external file attributes and ZIP64 extensions. Alternative ZipArchive. It does not require php-zip extension.

5168.0M138](/packages/nelexa-zip)[zanysoft/laravel-zip

laravel-zip is the world's leading zip utility for file compression and backup.

3203.0M15](/packages/zanysoft-laravel-zip)[wapmorgan/unified-archive

UnifiedArchive - an archive manager with unified interface of working with all popular archive formats (zip/7z/rar/gz/bz2/xz/cab/tar/tar.gz/tar.bz2/tar.x/tar.Z/...) for PHP with ability for listing, reading, extracting and creation + built-in console archive manager.

2811.8M7](/packages/wapmorgan-unified-archive)[league/flysystem-ziparchive

ZIP filesystem adapter for Flysystem.

1099.8M73](/packages/league-flysystem-ziparchive)[madnest/madzipper

Easier zip file handling for Laravel applications.

1412.5M9](/packages/madnest-madzipper)

PHPackages © 2026

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