PHPackages                             symfony/service-contracts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. symfony/service-contracts

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

symfony/service-contracts
=========================

Generic abstractions related to writing services

v3.7.1(2w ago)2.6k914.7M↓15%720MITPHPPHP &gt;=8.1

Since May 28Pushed 6d ago5 watchersCompare

[ Source](https://github.com/symfony/service-contracts)[ Packagist](https://packagist.org/packages/symfony/service-contracts)[ Docs](https://symfony.com)[ Fund](https://symfony.com/sponsor)[ GitHub Sponsors](https://github.com/fabpot)[ RSS](/packages/symfony-service-contracts/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (5)Dependencies (6)Versions (58)Used By (20)

Symfony Service Contracts
=========================

[](#symfony-service-contracts)

A set of abstractions extracted out of the Symfony components.

Can be used to build on semantics that the Symfony components proved useful and that already have battle tested implementations.

See  for more information.

###  Health Score

80

—

ExcellentBetter than 100% of packages

Maintenance98

Actively maintained with recent releases

Popularity79

Solid adoption and visibility

Community48

Growing community involvement

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~46 days

Recently: every ~84 days

Total

57

Last Release

17d ago

Major Versions

v2.5.1 → v3.0.12022-03-13

v1.1.13 → v2.5.22022-05-30

v2.5.2 → v3.0.22022-05-30

v2.5.3 → 3.2.x-dev2023-04-27

v2.5.4 → v3.4.32024-09-25

PHP version history (7 changes)v1.1.1PHP ^7.1.3

v2.0.0PHP ^7.2.9

v2.0.1PHP ^7.2.5

v2.1.2PHP &gt;=7.2.5

v1.1.9PHP &gt;=7.1.3

v3.0.0PHP &gt;=8.0.2

v3.1.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47313?v=4)[Fabien Potencier](/maintainers/fabpot)[@fabpot](https://github.com/fabpot)

---

Top Contributors

[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (96 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (31 commits)")[![derrabus](https://avatars.githubusercontent.com/u/1506493?v=4)](https://github.com/derrabus "derrabus (23 commits)")[![kbond](https://avatars.githubusercontent.com/u/127811?v=4)](https://github.com/kbond "kbond (9 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (5 commits)")[![chalasr](https://avatars.githubusercontent.com/u/7502063?v=4)](https://github.com/chalasr "chalasr (2 commits)")[![StevenRenaux](https://avatars.githubusercontent.com/u/59167761?v=4)](https://github.com/StevenRenaux "StevenRenaux (2 commits)")[![andersonamuller](https://avatars.githubusercontent.com/u/1681800?v=4)](https://github.com/andersonamuller "andersonamuller (2 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (2 commits)")[![mbessolov](https://avatars.githubusercontent.com/u/2725121?v=4)](https://github.com/mbessolov "mbessolov (1 commits)")[![Neirda24](https://avatars.githubusercontent.com/u/7036794?v=4)](https://github.com/Neirda24 "Neirda24 (1 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")[![OskarStark](https://avatars.githubusercontent.com/u/995707?v=4)](https://github.com/OskarStark "OskarStark (1 commits)")[![reedy](https://avatars.githubusercontent.com/u/67615?v=4)](https://github.com/reedy "reedy (1 commits)")[![rosier](https://avatars.githubusercontent.com/u/117380?v=4)](https://github.com/rosier "rosier (1 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (1 commits)")[![thewilkybarkid](https://avatars.githubusercontent.com/u/1784740?v=4)](https://github.com/thewilkybarkid "thewilkybarkid (1 commits)")[![ValentineBoineau](https://avatars.githubusercontent.com/u/34517639?v=4)](https://github.com/ValentineBoineau "ValentineBoineau (1 commits)")[![wouterj](https://avatars.githubusercontent.com/u/749025?v=4)](https://github.com/wouterj "wouterj (1 commits)")[![mateuszsip](https://avatars.githubusercontent.com/u/1377075?v=4)](https://github.com/mateuszsip "mateuszsip (1 commits)")

---

Tags

abstractionscontractsdecouplinginterfacesinteroperabilityphpstandardssymfonysymfony-contractsstandardsinterfacesinteroperabilitycontractsabstractionsdecoupling

### Embed Badge

![Health badge](/badges/symfony-service-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/symfony-service-contracts/health.svg)](https://phpackages.com/packages/symfony-service-contracts)
```

###  Alternatives

[symfony/event-dispatcher-contracts

Generic abstractions related to dispatching event

3.4k807.0M621](/packages/symfony-event-dispatcher-contracts)[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k455.6M9.6k](/packages/symfony-dependency-injection)[symfony/contracts

A set of abstractions extracted out of the Symfony components

3.9k65.9M138](/packages/symfony-contracts)[symfony/translation-contracts

Generic abstractions related to translation

2.6k747.7M667](/packages/symfony-translation-contracts)[symfony/cache-contracts

Generic abstractions related to caching

2.4k332.6M315](/packages/symfony-cache-contracts)[symfony/http-client-contracts

Generic abstractions related to HTTP clients

2.0k428.1M428](/packages/symfony-http-client-contracts)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
