Gogs 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
..
examples 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
src 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
tests 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
.gitignore 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
.php_cs 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
.travis.yml 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
LICENSE 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
README.md 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
build.xml 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
composer.json 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
composer.lock 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
phive.xml 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад
phpunit.xml 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 9 месяцев назад

README.md

Manifest

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

Build Status Scrutinizer Code Quality SensioLabsInsight

Installation

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

Usage

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

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

var_dump($manifest);

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