# php-fig/link

A repository for the PSR-13 [Hyperlink] interface

Repository: https://github.com/php-fig/link
Canonical: https://ross.abutalabs.com/products/link
Language: PHP
License: MIT
License Family: permissive
Last push: 2022-06-21T13:38:53+00:00

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

## Adoption (not part of the score)
Stars 2492, forks 13 (observed 2026-08-28T04:06:56.408513+00:00)

## What it is
php-fig/link provides the PSR-13 standard interfaces for representing hyperlinks and link providers in PHP. It contains only interface definitions, not implementations, allowing interoperable link handling across PHP frameworks and libraries.

## Use cases
- define hyperlinks in a standards-compliant way in php
- share link metadata between php frameworks
- implement psr-13 link interfaces in a library
- provide web linking headers from a php application

## When to choose
- you are building a php library or framework that should interoperate with psr-13
- you need a common contract for hyperlink objects across packages

## When to avoid
- you need a working link implementation rather than interfaces
- your project does not follow php-fig standards

## Facets
- artifact type: library
- maturity: stable
- function: api-framework, web-framework
- domain: web-development, apis, developer-tools
- platform: php
- tags: psr-13, hyperlink, interfaces, php-fig, standards

## Member repositories
- php-fig/link (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:56.408513+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-30T02:27:46.575164+00:00, confidence not recorded.
  - readme: https://github.com/php-fig/link (fetched 2026-08-28T04:06:56.408513+00:00, sha 5a8c287c9763)
- Data as of 2026-08-30T08:39:29.467469+00:00.
