Demystifying Dependency Injection in Symfony


Abstract

The Dependency Injection Component is a key part of all Symfony applications. It helps developers write decoupled and maintainable code.

In this beginner-level talk, we will explore the following:

  • The principles of Dependency Injection
  • Setting up and configuring the Symfony service container
  • Using Attributes for service configuration

By the end of this session, you'll have a solid understanding of how to implement DI effectively, ensuring your Symfony applications are scalable, maintainable, and easy to test.


See more talks.

Events
SymfonyCon 2024 Dec 2024

[slides] [website]