# schmittjoh/metadata

Metadata is a library for metadata management in PHP

Repository: https://github.com/schmittjoh/metadata
Canonical: https://ross.abutalabs.com/products/metadata
Language: PHP
License: MIT
License Family: permissive
Last push: 2025-11-30T20:13:25+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 54, release rhythm 27, longevity 100
- inputs: {"age_days": 5598, "days_push": 276, "days_rel": 276, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1822, forks 71 (observed 2026-08-28T04:05:41.027882+00:00)

## What it is
A PHP library for managing class, method, and property metadata from multiple sources such as annotations, YAML, XML, and PHP configuration files. It abstracts the metadata source behind a common interface via a MetadataFactory and driver chain.

## Use cases
- read class and method metadata from annotations in php
- load configuration metadata from yaml or xml files
- build a common metadata interface across multiple sources
- attach custom metadata to php classes and properties
- implement annotation-driven behavior in a framework

## When to choose
- you need to read annotations or config-file metadata in a PHP project
- you are building a library that supports multiple metadata sources
- you want a stable, widely used metadata abstraction layer

## When to avoid
- you use PHP 8 native attributes and need no legacy source support
- your framework already provides its own metadata or attribute reader

## Facets
- artifact type: library
- maturity: stable
- function: serialization, developer-tools
- domain: developer-tools, web-development
- platform: php
- tags: metadata, annotations, php-library, reflection

## Member repositories
- schmittjoh/metadata (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:41.027882+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-30T03:19:55.377289+00:00, confidence not recorded.
  - readme: https://github.com/schmittjoh/metadata (fetched 2026-08-28T04:05:41.027882+00:00, sha e3ed039f9c66)
- Data as of 2026-08-30T08:39:29.467469+00:00.
