server 52763dedf1 gitignore | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
examples | %!s(int64=2) %!d(string=hai) anos | |
src | %!s(int64=2) %!d(string=hai) anos | |
tests | %!s(int64=2) %!d(string=hai) anos | |
.gitignore | %!s(int64=2) %!d(string=hai) anos | |
.php_cs | %!s(int64=2) %!d(string=hai) anos | |
.travis.yml | %!s(int64=2) %!d(string=hai) anos | |
LICENSE | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
build.xml | %!s(int64=2) %!d(string=hai) anos | |
composer.json | %!s(int64=2) %!d(string=hai) anos | |
composer.lock | %!s(int64=2) %!d(string=hai) anos | |
phive.xml | %!s(int64=2) %!d(string=hai) anos | |
phpunit.xml | %!s(int64=2) %!d(string=hai) anos |
Component for reading phar.io manifest information from a PHP Archive (PHAR).
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');
var_dump($manifest);
echo (new ManifestSerializer)->serializeToString($manifest);