Symfony: Level up with Services and the Container

Our app is coming to life! Thanks to the Doctrine Course we have a rich data model. And after the course on Configuration, well, using and configuring services is simple.

Now it's time to level-up with those services. These puppies are the backbone of what makes Symfony special & fast. It's also the reason that organizing your code into reusable chunks is so easy. But beyond that, once you understand how services and the service container work, you'll be absolutely unstoppable inside of Symfony. Yep, let's do that:

  • Understanding what a service is
  • Listing, fetching and using existing services
  • Creating your own custom services
  • Registering your service
  • Checking out the (mystical) dumped container
  • Configuration Parameters
  • Dependency Injection Tags

This is the episode where it all starts coming together. Let's go!

Your Guides

Ryan Weaver Leanna Pelham

Questions? Conversation?

  • 2016-10-06 samir Patel

    I loved this course! Learned so much new and cool stuff. I especially love the keyboard shortcut for type-hinted constructor arguments. Symfony rocks!!!

  • 2016-06-15 JLChafardet

    I went ahead and added my comment to step 9.1 yet ill drop it here too just in case.

    Hey there weaverryan

    Are there any plans to delve deeper into this topic? (SOA in symfony) ? It was a wonderful topic, yet we just scratched the surface and it felt a VERY important topic to master.

    It seems to me this whole area should be explored and explained a bit more deeply, maybe its just me, but it fascinated me, breathtakingly amazing thing to learn and master, I for one, want more, more in-depth learning of this topic.

  • 2016-05-12 Yoni L.

    YES!! got 5 offense points!! LOOL, thx for this.
    This symfony 3 track is so easy to follow, very clear!!
    Good job KnP guys and girls!!!

    + 5 fan points ;)

  • 2016-04-13 Diego Aguiar

    hahaha, yeah at least it's great news

  • 2016-04-13 Ömür Yanıkoğlu

    You rock! Thank you so much :)

  • 2016-04-13 weaverryan

    Ok, we did :p. This is up now!

  • 2016-04-13 weaverryan

    Today! Sorry for the late reply, but at least it's good news ;).

  • 2016-04-09 Ömür Yanıkoğlu

    Please hurry up :)

  • 2016-04-05 Diego Aguiar

    is there an estimated date for this tutorial ?