morgue / archive
Morgue: format agnostic archive file representation
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: ^6.4
This package is not auto-updated.
Last update: 2024-11-03 12:54:46 UTC
README
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.