PHPackages                             d9magai/phparchive - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. d9magai/phparchive

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

d9magai/phparchive
==================

0.0.2(11y ago)0252MITPHP

Since Aug 14Pushed 11y agoCompare

[ Source](https://github.com/d9magai/PHPArchive)[ Packagist](https://packagist.org/packages/d9magai/phparchive)[ RSS](/packages/d9magai-phparchive/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

PHPArchive
==========

[](#phparchive)

Wrapper of ZipArchive class.

API Example
-----------

[](#api-example)

```
use D9magai\Zip\TmpArchive;

// create TmpArchive
$tmpArchive = TmpArchive(new \ZipArchive(), __DIR__ . '/tmp');
// add file to tmpArchive
$tmpArchive->addFile($filePath);
// saving tmpArchive
$tmpArchive->save();
// get tmpArchive path
$zipPath = $tmpArchive->getPath();
```

\##License

This project is licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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 ~4 days

Total

2

Last Release

4291d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b003c253bc0446a07ee6bcd846b8f9747044719aa4191bce9bb7a08e8879d91?d=identicon)[d9magai](/maintainers/d9magai)

---

Tags

tarzipbzip

### Embed Badge

![Health badge](/badges/d9magai-phparchive/health.svg)

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

###  Alternatives

[alchemy/zippy

Zippy, the archive manager companion

47522.6M51](/packages/alchemy-zippy)[pclzip/pclzip

A PHP library that offers compression and extraction functions for Zip formatted archives

19412.9M4](/packages/pclzip-pclzip)[spatie/laravel-personal-data-export

Create personal data downloads in a Laravel app

550543.8k8](/packages/spatie-laravel-personal-data-export)[ihor/nspl

Non-standard PHP library (NSPL) - functional primitives toolbox and more

381368.5k](/packages/ihor-nspl)[vipsoft/unzip

Unzip library - a ZipArchive wrapper

331.4M](/packages/vipsoft-unzip)[pragmarx/zipcode

A worldwide address-by-zipcode searcher.

10265.4k](/packages/pragmarx-zipcode)

PHPackages © 2026

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