symfony/contracts
Symfony Contracts provides small, stable PHP interfaces and traits extracted from Symfony components. Use them as type hints for loose coupling and interoperability, with proven implementations and backward compatibility across the Symfony ecosystem.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/service-contracts | 0.88 | 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,630 | 2,632 | 6 | 17M | 0 | 33.3 | 61.3 | MIT | 4 weeks ago | |
| 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,604 | 2,607 | 3 | 15M | 0 | 32.3 | 60.6 | MIT | 4 weeks ago | |
| illuminate/contracts | 0.87 | 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. | 706 | 713 | 83 | 2M | 0 | 6.1 | 48.7 | 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,381 | 2,382 | 6 | 7M | 0 | 32.4 | 56.2 | MIT | 4 weeks 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,978 | 1,979 | 0 | 8M | 0 | 30.5 | 58.0 | MIT | 4 weeks ago | |
| dbrekelmans/domain-driven-bundle | 0.84 | — | 4 | 4 | 0 | 0 | 1 | 1.1 | — | MIT | 6 years ago | |
| symfony/event-dispatcher-contracts | 0.84 | 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,420 | 3,422 | 3 | 16M | 0 | 37.2 | 59.0 | MIT | 4 weeks ago | |
| bolser/tinypng-bundle | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 1.2 | — | MIT | 5 years ago | |
| axstrad/symfony-extra | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| bespoke-support/symfony-test-application | 0.83 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| draw/contracts | 0.83 | Lightweight PHP contracts for Draw packages. Provides shared interfaces and abstractions to standardize implementations across components, improving interoperability, testing, and decoupling in Laravel or framework-agnostic projects. | 0 | 0 | 0 | 2K | 0 | 0.0 | 44.9 | — | — | |
| hyperf/contract | 0.82 | Core contracts for Hyperf: a set of lightweight PHP interfaces that define common behaviors across the framework (DI, events, middleware, serialization, etc.). Helps decouple components, improve testability, and keep implementations swappable. | 4 | 4 | 4 | 68K | 0 | 18.1 | 59.6 | MIT | 6 months ago |
How can I help you explore Laravel packages today?