symfony/service-contracts
Symfony Service Contracts provides lightweight, battle-tested abstractions extracted from Symfony components. Use these shared interfaces to build interoperable libraries and apps with proven semantics and consistent behavior across the Symfony ecosystem.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/contracts | 0.89 | Symfony Contracts – Standardized PHP interfaces for loose coupling, ensuring interoperability with Symfony and third-party implementations. Useful for dependency injection, autowiring, and framework-agnostic design. Backward-compatible with Symfony components. | 3,942 | 3,949 | 19 | 428K | 0 | 20.3 | 28.2 | MIT | — | |
| symfony/translation-contracts | 0.87 | Symfony Translation Contracts provides lightweight interfaces and abstractions for translation in PHP, extracted from Symfony components. Use it to build interoperable, battle‑tested translation integrations while staying framework-agnostic and compatible with Symfony implementations. | 2,605 | 2,609 | 3 | 14M | 0 | 13.1 | 51.6 | MIT | — | |
| symfony/cache-contracts | 0.87 | Symfony Cache Contracts defines lightweight, PSR-friendly interfaces for cache and tag-aware caching, enabling consistent cache usage across Symfony components and third-party libraries. Use it to type-hint against stable APIs while swapping cache implementations. | 2,382 | 2,383 | 6 | 7M | 0 | 33.3 | 56.3 | MIT | 5 years ago | |
| symfony/event-dispatcher-contracts | 0.85 | Interfaces and base abstractions for Symfony’s event dispatching system. Use these contracts to standardize how events and listeners interact, and to build libraries compatible with Symfony components and their proven implementations. | 3,422 | 3,425 | 2 | 15M | 0 | 38.1 | 59.0 | MIT | 5 years ago | |
| symfony/http-client-contracts | 0.85 | Symfony HttpClient Contracts provides stable interfaces for HTTP clients and responses, extracted from Symfony. Build libraries against these battle-tested abstractions and swap implementations easily while staying compatible with Symfony’s HttpClient ecosystem. | 1,990 | 1,991 | 1 | 8M | 0 | 31.5 | 58.1 | MIT | 5 years ago | |
| symfony/deprecation-contracts | 0.81 | Provides the global trigger_deprecation() helper to emit standardized, silenced deprecation notices with package name and version. Works with custom error handlers (e.g., Symfony ErrorHandler) to catch and log deprecations in dev and production. | 2,110 | 2,118 | 8 | 17M | 0 | 31.4 | 63.4 | MIT | 5 years ago | |
| illuminate/contracts | 0.81 | Laravel’s core contract interfaces for frameworks and packages. Provides stable abstractions for services like cache, queue, events, routing, validation, and more, enabling clean dependency injection and easy swapping of implementations across the ecosystem. | 705 | 711 | 83 | 2M | 0 | 6.1 | 48.4 | MIT | — |
How can I help you explore Laravel packages today?