PHPackages                             morgue/archive - 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. morgue/archive

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

morgue/archive
==============

Morgue: format agnostic archive file representation

v0.1(6mo ago)06LGPL-3.0-or-laterPHPPHP &gt;=7.2

Since Dec 19Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/iqb/Morgue-Archive)[ Packagist](https://packagist.org/packages/morgue/archive)[ RSS](/packages/morgue-archive/feed)WikiDiscussions master Synced 2w ago

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

(Read-only) PHP Archive: format agnostic archive file representation
====================================================================

[](#read-only-php-archive-format-agnostic-archive-file-representation)

[![Build Status](https://camo.githubusercontent.com/91e70bfceba285670fcbd77d60748ab5d8fae0043f6a0e7b23478acf871f5f3d/68747470733a2f2f7472617669732d63692e6f72672f6971622f4d6f726775652d417263686976652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/iqb/Morgue-Archive)[![Code Coverage](https://camo.githubusercontent.com/68edc7254ee026a9823d123f9342312d1998aeb693c12dfb29f52e76a681bf7e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6971622f4d6f726775652d417263686976652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/iqb/Morgue-Archive)[![Software License](https://camo.githubusercontent.com/cab72aa2f20de080d74edadd1ae7b7eb7827bbde1488184096226f38a9d65504/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4c47504c25323056332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Issues/pull requests
--------------------

[](#issuespull-requests)

This repository is a subtree split of the [iqb/Morgue](https://github.com/iqb/Morgue) repository so it can be required as a stand alone package via composer. To open an issues or pull request, please go to the [iqb/Morgue](https://github.com/iqb/Morgue) repository.

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

[](#installation)

Via [composer](https://getcomposer.org):

```
composer require iqb/morgue-archive
```

Usage
-----

[](#usage)

The `Archive` and `ArchiveEntry` classes represent the generalized structure of archive files (e.g. .zip or .rar files).

An archive can be read by a file type specific `ArchiveReaderInterface` implementation, modified in a file type agnostic way and then persisted with a file type specific `ArchiveWriterInterface` implementation.

Further details can be found in the [iqb/Morgue](https://github.com/iqb/Morgue) repository that contains at least a working implementation for the ZIP archive format.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance67

Regular maintenance activity

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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

193d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b38daf7ea29726e8f479a49857e46ebe2396b354ce31dfabcf504633af43de1?d=identicon)[dennisbirkholz](/maintainers/dennisbirkholz)

---

Top Contributors

[![DennisBirkholz](https://avatars.githubusercontent.com/u/600655?v=4)](https://github.com/DennisBirkholz "DennisBirkholz (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/morgue-archive/health.svg)

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

PHPackages © 2026

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