# symfony/web-link

Manages links between resources

Repository: https://github.com/symfony/web-link
Canonical: https://ross.abutalabs.com/products/web-link
Homepage: https://symfony.com/web-link
Language: PHP
License: MIT
License Family: permissive
Topics: php, symfony, component, symfony-component, dns-prefetch, http, http2, link, performance, prefetch, preload, prerender, psr13, push, linkset
Last push: 2026-08-19T07:58:41+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 86, longevity 100
- inputs: {"age_days": 3432, "days_push": 14, "days_rel": 96, "gap_med": 8, "n_releases_24m": 18}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1416, forks 8 (observed 2026-08-28T04:04:39.924370+00:00)

## What it is
A Symfony component that manages links between resources via the Link HTTP header, implementing PSR-13, RFC 8288, RFC 9264 (Linkset), and RFC 9652 (Link-Template). It helps advise clients to preload, prefetch, dns-prefetch, and prerender assets, including 103 Early Hints support.

## Use cases
- preload css and javascript assets via Link HTTP headers
- send 103 Early Hints responses to speed up page loads
- add resource hints like dns-prefetch and prerender to responses
- serialize and parse Link headers per RFC 8288
- implement HTTP/2 server push for critical assets
- generate linkset documents in JSON or XML formats

## When to choose
- you run a PHP/Symfony web app and want to optimize asset loading with preloading and Early Hints
- you need standards-compliant Link header management (PSR-13, RFC 8288) in PHP
- you want to reduce perceived latency by hinting browsers to fetch resources early

## When to avoid
- your project is not PHP-based
- you only need frontend asset bundling rather than HTTP link management
- your server stack does not support Early Hints or HTTP/2 push and you don't need resource hints

## Facets
- artifact type: library
- maturity: stable
- function: http-server, middleware, routing
- domain: web-development, performance, apis
- platform: php
- tags: psr-13, http-link-header, preload, prefetch, early-hints, http2-push, resource-hints, symfony-component, rfc8288, linkset, web-server

## Member repositories
- symfony/web-link (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:39.924370+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-30T04:38:07.386600+00:00, confidence not recorded.
  - readme: https://github.com/symfony/web-link (fetched 2026-08-28T04:04:39.924370+00:00, sha c24f04931f3a)
  - homepage: https://symfony.com/web-link (fetched 2026-08-29T11:50:52.673229+00:00, sha cc49dee76779)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T11:50:52.682090+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/doc/current/web_link.html (fetched 2026-08-29T11:50:52.684173+00:00, sha 94ffb0a99a0a)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T11:50:52.686417+00:00, sha 429432437be6)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T11:50:52.688348+00:00, sha f38db6c86da8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
