symfony/translation-contracts
Generic abstractions related to translation observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 89
- Release rhythm 78
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 52
- age_days: 2655
- days_rel: 67
- days_push: 67
- n_releases_24m: 2
Adoption not part of the score
2584 stars · 3 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A set of PHP interfaces and abstractions for translation, extracted from the Symfony framework's translation component. It lets libraries depend on stable, battle-tested semantics for translation without coupling to a specific Symfony implementation.
Use cases
- decouple my PHP library from the Symfony translator implementation
- type-hint against a standard translation interface in PHP
- make my package interoperable with Symfony translation
- add i18n abstractions to a framework-agnostic PHP app
- swap translation implementations without changing consuming code
- define a contract for translatable messages in PHP
When to choose
- you are building a PHP library or bundle that needs translation support without a hard dependency on symfony/translation
- you want interoperability with the Symfony ecosystem's translation semantics
- you need stable interfaces to program against while allowing different translator backends
When to avoid
- you need an actual working translator with loaders, catalogs, and message formatting - use symfony/translation instead
- your project does not use PHP
- you only need translation inside a full Symfony application, where the component is already included
Facets
library · maturity stable
internationalization plugin-system web-development developer-tools php symfony contracts interfaces abstractions decoupling interoperability translation localization composer
6 sources
- readme: https://github.com/symfony/translation-contracts · fetched 2026-08-28 · 2fb6a2b03277
- homepage: https://symfony.com · fetched 2026-08-29 · 68595089eb73
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/doc/current/contributing/community/releases.html · fetched 2026-08-29 · e46dc2ffbd61
- site_page: https://symfony.com/releases · fetched 2026-08-29 · 2fd410222cfe
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · b626b5bb1423
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/translation-contracts | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="symfony/translation-contracts")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem