Released Part 1 of a 3-parter yesterday introducing a dependency injection framework powered by Attributes.

I hope to have Part 2 finished next week and talk about resolving multiple service aliases with profiles, using service factories, injecting arbitrary non-object data, and more. Dependency injection has always gotten me excited as a coding subject and I'm really excited about this.

Sign in to participate in the conversation
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.