Reduce code duplication between DI extensions
Sync `composer.json` files content
Reduce code duplication in DI extensions.