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.
Architecture fit: The package provides pure interfaces for service contracts (PSR-11 compliant), aligning with Laravel's PSR-11-compatible container (Illuminate\Container). However, Laravel's native DI doesn't natively implement Symfony-specific patterns like ServiceSubscriberInterface, limiting adoption to cross-framework libraries or Symfony component integrations rather than core Laravel app services.
Integration feasibility: Low friction via Composer; no configuration needed. Requires verifying PSR-11 compliance (Laravel meets this), but ServiceSubscriberInterface usage demands custom implementation since Laravel doesn't auto-res
How can I help you explore Laravel packages today?