symfony/contracts
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/service-contracts | 0.89 | 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. | 2,631 | 2,634 | 6 | 16M | 0 | 34.2 | 61.3 | MIT | 5 years ago | |
| symfony/translation-contracts | 0.88 | 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.86 | 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/http-client-contracts | 0.86 | 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 | 7M | 0 | 31.5 | 58.1 | 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 | |
| illuminate/contracts | 0.85 | 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 | — | |
| google/common-protos | 0.63 | Generated PHP classes for Google’s common Protocol Buffer types used across the Google API ecosystem. Distributed as the google/common-protos Composer package under Apache 2.0 and designed to be stable for use in your applications. | 173 | 175 | 9 | 4M | 0 | 30.9 | 65.0 | Apache-2.0 | 1 week ago | |
| google/cloud-common-protos | 0.61 | Generated PHP Protocol Buffer classes shared across Google Cloud APIs (part of google-cloud-php). Install via Composer as google/cloud-common-protos to use stable, Apache-2.0 licensed common proto message types in your apps. | 3 | 3 | 1 | 4K | 0 | 27.5 | 47.8 | Apache-2.0 | 3 weeks ago |
How can I help you explore Laravel packages today?