# ManifestComponent for reading [phar.io](https://phar.io/) manifest information from a [PHP Archive (PHAR)](http://php.net/phar).[](https://travis-ci.org/phar-io/manifest)[](https://scrutinizer-ci.com/g/phar-io/manifest/?branch=master)[](https://insight.sensiolabs.com/projects/d8cc6035-69ad-477d-bd1a-ccc605480fd7)## InstallationYou can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/): composer require phar-io/manifestIf 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## Usage```phpusePharIo\Manifest\ManifestLoader;usePharIo\Manifest\ManifestSerializer;$manifest=ManifestLoader::fromFile('manifest.xml');var_dump($manifest);echo(newManifestSerializer)->serializeToString($manifest);```