symfony/service-contracts
Generic abstractions related to writing services observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 94
- 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: 37
- n_releases_24m: 2
Adoption not part of the score
2611 stars · 7 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 extracted from Symfony components, defining contracts for writing services that decouple code from specific implementations. It allows libraries to depend on stable, battle-tested semantics rather than concrete Symfony classes.
Use cases
- decouple my PHP library from Symfony's concrete service implementations
- define standard interfaces for services so third-party packages can interoperate
- type-hint against abstractions instead of Symfony components in my code
- make my bundle compatible with multiple Symfony versions
- share common service semantics across PHP packages
- avoid hard dependencies on Symfony internals in reusable code
When to choose
- you are building a PHP library or bundle that should integrate with Symfony without depending on its concrete classes
- you want interoperability with the broader Symfony ecosystem using standard contracts
- you need stable, battle-tested abstractions maintained by the Symfony project
When to avoid
- you are building a standalone application with no need for framework decoupling
- your project does not use PHP or the Symfony ecosystem
- you need runtime behavior or implementations rather than pure interfaces
Facets
library · maturity stable
middleware plugin-system developer-tools web-development backend developer-tools apis php cross-platform service-abstractions interfaces decoupling interoperability symfony-ecosystem dependency-injection contracts php
6 sources
- readme: https://github.com/symfony/service-contracts · fetched 2026-08-28 · cc42b3133878
- homepage: https://symfony.com · fetched 2026-08-29 · 68595089eb73
- 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/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · b626b5bb1423
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/service-contracts | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="symfony/service-contracts")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem