# phar-io/manifest

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

Repository: https://github.com/phar-io/manifest
Canonical: https://ross.abutalabs.com/products/phar-io-manifest
Homepage: https://phar.io/
Language: PHP
License: NOASSERTION
License Family: other
Last push: 2026-05-20T15:32:53+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 83, release rhythm 8, longevity 100
- inputs: {"age_days": 3569, "days_push": 105, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7476, forks 15 (observed 2026-08-28T04:10:00.179889+00:00)

## What it is
A PHP library for reading and serializing phar.io manifest information from PHP Archive (PHAR) files. It parses manifest.xml data such as application name, version, type, authors, and license into structured objects.

## Use cases
- read manifest metadata from a phar file
- parse manifest.xml into PHP objects
- serialize manifest information back to XML
- inspect phar package name, version, and license
- build tooling that verifies phar packages
- integrate phar manifest handling into PHP applications

## When to choose
- you need to programmatically read or write phar.io manifest data in PHP
- you are building phar packaging or verification tooling like PHIVE
- you need structured access to phar metadata such as authors, license, and version

## When to avoid
- you need to create or extract phar archives themselves rather than read manifests
- your project is not written in PHP
- you only need basic phar file operations covered by PHP's built-in Phar class

## Facets
- artifact type: library
- maturity: active
- function: parser, serialization, developer-tools
- domain: developer-tools, files
- platform: php, cli, cross-platform
- tags: phar, manifest, php-archive, composer, phive, php

## Member repositories
- phar-io/manifest (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:00.179889+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:37:36.626940+00:00, confidence not recorded.
  - readme: https://github.com/phar-io/manifest (fetched 2026-08-28T04:10:00.179889+00:00, sha ebedaf335509)
  - homepage: https://phar.io/ (fetched 2026-08-29T08:32:51.866286+00:00, sha c119890c8bc9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
