morgue/archive

Morgue: format agnostic archive file representation

dev-master 2018-04-13 20:55 UTC

This package is not auto-updated.

Last update: 2024-11-17 12:57:21 UTC


README

Build Status Code Coverage Software License

Issues/pull requests

This repository is a subtree split of the 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 repository.

Installation

Via composer:

composer require iqb/morgue-archive

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 repository that contains at least a working implementation for the ZIP archive format.