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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| draw/contracts | 0.90 | 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 | 1K | 0 | 0.0 | 42.7 | — | — | |
| symfony/event-dispatcher-contracts | 0.89 | Defines lightweight, version-stable contracts for Symfony’s EventDispatcher: interfaces and abstractions shared across components. Use it to type-hint and build compatible event dispatching integrations with proven Symfony semantics without pulling full implementations. | 3,416 | 3,421 | 3 | 17M | 0 | 37.7 | 59.8 | MIT | 3 weeks 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,585 | 2,605 | 3 | 16M | 0 | 32.5 | 61.0 | MIT | 3 weeks ago | |
| symfony/contracts | 0.88 | Symfony Contracts provides small, domain-focused PHP interfaces, traits, and normative docblocks extracted from Symfony components. Use them as stable type hints for loose coupling, interoperability, and easy DI/autowiring with battle-tested implementations. | 3,934 | 3,946 | 19 | 407K | 0 | 40.0 | 32.5 | MIT | 3 weeks ago | |
| symfony/http-client-contracts | 0.88 | 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,975 | 1,978 | 0 | 9M | 0 | 30.8 | 58.6 | MIT | 3 weeks ago | |
| bbrands/test-bundle | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| hyperf/contract | 0.86 | 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 | 61K | 0 | 27.5 | 64.1 | MIT | 1 month ago | |
| mmoreram/base-bundle | 0.86 | — | 29 | 29 | 6 | 570 | 1 | 7.3 | 18.0 | MIT | 5 years ago | |
| britt11654/my-first-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| php-standard-library/interoperability | 0.85 | Lightweight PHP interoperability helpers in the php-standard-library ecosystem. Provides small, standards-oriented utilities to bridge common interfaces and behaviors between components, improving compatibility and reuse without pulling in heavy dependencies. | 1 | 1 | 0 | 30K | 0 | 19.5 | 64.0 | MIT | 1 month ago | |
| dragon-code/contracts | 0.85 | Dragon Code Contracts provides a lightweight set of PHP interfaces (contracts) you can reuse across projects and packages. Use it to standardize common behaviors and keep implementations decoupled and consistent throughout your codebase. | 10 | 10 | 0 | 460K | 0 | 23.9 | 62.3 | MIT | 4 months ago | |
| boson-php/http-contracts | 0.85 | Lightweight PHP contracts for HTTP clients, requests, responses, and middleware. Provides stable interfaces to decouple your app from конкрет implementations, making it easier to swap HTTP libraries, mock in tests, and share consistent types across packages. | 0 | 0 | 0 | 35 | 0 | 0.0 | 21.5 | MIT | — | |
| bghanem/hello-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| controleonline/contract | 0.85 | — | 0 | 0 | 0 | 286 | 0 | 0.0 | 34.0 | MIT | — | |
| axstrad/symfony-extra | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| container-interop/service-provider | 0.83 | Experimental PSR draft to standardize PHP service providers (“bundles/modules”) for PSR-11 containers. Defines interfaces for registering factories and extensions so modules can share container definitions across frameworks. Not stable before 1.0; expect breaking changes. | 71 | 72 | 10 | 10K | 4 | 3.2 | 30.2 | — | 2 years ago | |
| baks-dev/core | 0.83 | BaksDev Core — базовый модуль для проектов BaksDev (PHP 8.4+): настройка основного домена через .env, примеры systemd-сервисов для messenger:consume, auto-scripts для установки ассетов и очистки кэша. Установка через Composer. | 0 | 0 | 4 | 398 | 0 | 22.1 | 42.1 | MIT | 2 weeks ago | |
| baks-dev/services | 0.82 | — | 0 | 0 | 2 | 12 | 0 | 19.3 | 17.9 | MIT | 1 month ago | |
| symfony/dependency-injection | 0.82 | Symfony DependencyInjection standardizes and centralizes object construction with a powerful service container. Define services and parameters, manage autowiring and configuration, and optimize performance through compilation for cleaner, decoupled apps. | 4,169 | 4,201 | 91 | 8M | 0 | 57.3 | 52.9 | MIT | 3 weeks ago | |
| adtechpotok/symfony-aware | 0.82 | Symfony “aware” interfaces and traits for quickly injecting common services (EntityManager, Doctrine, cache, logger, kernel, request stack, etc.) into your classes. Works with explicit service calls or Symfony 3.3+ autowiring. | 3 | 3 | 0 | 0 | 0 | 0.9 | — | MIT | 8 years ago |
How can I help you explore Laravel packages today?