dot-dependency-injection is Dotkernel's dependency injection service.
Instead of a handwritten factory class per service, you declare a class's dependencies with the #[Inject] attribute on its constructor - or a repository's entity with #[Entity] - and register one of the two reusable factories this package ships.
That removes an entire category of boilerplate files from a project and keeps the dependency list next to the constructor it feeds.
It provides:
Dot\DependencyInjection\Attribute\Inject - declares the dependencies of a constructorDot\DependencyInjection\Attribute\Entity - declares the entity of a Doctrine repositoryDot\DependencyInjection\Factory\AttributedServiceFactory - builds any class from its #[Inject] attributeDot\DependencyInjection\Factory\AttributedRepositoryFactory - builds any Doctrine repository from its #[Entity] attributeContinue with Attributes vs. factories for the comparison and the trade-offs, or with Installation.