phar-io/manifest is tracked by TopGit as an open-source project, with 7.5k stars on GitHub, written primarily in PHP. Component for reading phar.io manifest information from a PHP Archive (PHAR)
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Component for reading phar.io manifest information from a PHP Archive (PHAR).
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 Examples
Read from manifest.xml
use PharIo\Manifest\ManifestLoader;
use PharIo\Manifest\ManifestSerializer;
$manifest = ManifestLoader::fromFile('manifest.xml');
var_dump($manifest);
echo (new ManifestSerializer)->serializeToString($manifest);
$bundled = new \PharIo\Manifest\BundledComponentCollection();
$bundled->add(
new \PharIo\Manifest\BundledComponent('vendor/packageA', new \PharIo\Version\Version('1.2.3-dev')
)
);
$manifest = new PharIo\Manifest\Manifest(
new \PharIo\Manifest\ApplicationName('vendor/package'),
new \PharIo\Version\Version('1.0.0'),
new \PharIo\Manifest\Library(),
new \PharIo\Manifest\CopyrightInformation(
new \PharIo\Manifest\AuthorCollection(),
new \PharIo\Manifest\License(
'BSD-3-Clause',
new \PharIo\Manifest\Url('https://spdx.org/licenses/BSD-3-Clause.html')
)
),
new \PharIo\Manifest\RequirementCollection(),
$bundled
);
echo (new ManifestSerializer)->serializeToString($manifest);
phar-io/manifest has 7.5k GitHub stars — refresh the page for the live number, or check github.com/phar-io/manifest. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is phar-io/manifest open source?
TopGit's metadata for phar-io/manifest does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is phar-io/manifest?
phar-io/manifest (phar-io/manifest) is a PHP project on GitHub. From the project's own README: Component for reading phar.io manifest information from a PHP Archive (PHAR)
Where can I see phar-io/manifest in action?
The project maintains a homepage at https://phar.io/. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about phar-io/manifest?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/phar-io/manifest is the definitive source.
Read full README in the tab above.
Still deciding about manifest?
One click hands the question to an AI along with this page — see what it says about manifest.