by phar-io

phar-io / manifest

Component for reading manifest information from a PHP Archive (PHAR)

6.4K Stars 7 Forks Last release: over 2 years ago (1.0.3) Other 115 Commits 6 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


Component for reading manifest information from a PHP Archive (PHAR).

Build Status Scrutinizer Code Quality SensioLabsInsight


You can add this library as a local, per-project dependency to your project using Composer:

composer require phar-io/manifest

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

composer require --dev phar-io/manifest


use PharIo\Manifest\ManifestLoader;
use PharIo\Manifest\ManifestSerializer;

$manifest = ManifestLoader::fromFile('manifest.xml');


echo (new ManifestSerializer)->serializeToString($manifest);

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.