pear/php_archive

This package is abandoned and no longer maintained. No replacement package was suggested.

Create a single .phar file containing an entire application

Maintainers

Package info

github.com/pear/PHP_Archive

Homepage

Issues

Documentation

pkg:composer/pear/php_archive

Statistics

Installs: 15

Dependents: 0

Suggesters: 0

Stars: 9

v0.14.0 2021-03-21 13:55 UTC

This package is auto-updated.

Last update: 2026-02-27 19:42:58 UTC


README

Userland only implementation of PHP archives.

Unit tests

Preparation

Run php tests/maketestphars.php.inc after changing PHP_Archive.

Running

$ pear run-tests tests/

There are tests that require PHP's native phar extension to be installed, while others require it not to be installed. The tests automatically detect if its installed and skip themselves if it's the wrong combination.

To get full coverage, you have to run the tests with different PHP configurations.