downsider / puzzle-di
Puzzle DI, auto configuration for dependency injection in modules
Installs: 4 693
Dependents: 0
Suggesters: 7
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Type:composer-plugin
Requires
- php: >=8.0
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.7.0
- dms/phpunit-arraysubset-asserts: ^0.3.0
- mockery/mockery: ^1.0.0
- phpunit/phpunit: ^9.0.0
README
Configure your code repositories to work out of the box, using any supported Dependency Injection framework
Ever had the problem of having to configure your shiny new package in every single one of the applications that use it? Ever found yourself creating separate "bundle" repos for frameworks, simply to wire up your code?
Puzzle-DI solves these problems. Simply write the configuration once and include it with your code. Puzzle-DI will collect all these configuration files from any repo that has them, and present them to be loaded by the DI framework of your choice, allowing you to get on with the more important and interesting task of actually using your code.