container-interop / service-provider

[EXPERIMENTAL] Promoting container/framework interoperability through standard service providers
72 stars 10 forks source link
dependency-injection php psr service-provider

Standard Service Providers

This project attempts to define a common standard for service providers, aka "bundles" or "modules" in various frameworks.

Service providers are classes that provide service definitions to a PSR-11 container.

The PSR depends on the PSR-11 Container Interface. Service providers operate on PSR-11 compatible containers.

⚠️ Work in progress

the project is currently experimental and is being tried in frameworks, containers and modules until considered viable. Until a 1.0.0 release, the code in this repository is not stable. Expect breaking changes between versions such as 0.1.x and 0.2.0.

πŸ‘‰ Refer to the current PSR draft for the PSR proposal itself.

🧐 Refer to the PSR meta document for the history and reasoning behind this proposal.

πŸ’¬ Join us to review open issues or participate in ongoing discussions.

Compatible projects

Projects consuming v0.4 service providers

Packages providing v0.4 service providers