> Symfony 3 >

Course Overview

Login to bookmark this course

Journey to the Center of Symfony: HttpKernel Request-Response

Join our journey into Symfony's core! Learn to dispatch kernel.request and kernel.response events.

  • 1962 students
  • EN Captions
  • EN Script
  • Certificate of Completion

Your Guides

About this course

What PHP libraries does this tutorial use?

// composer.json
    "require": {
        "php": ">=5.3.3",
        "symfony/symfony": "2.6.x-dev", // 2.6.x-dev
        "doctrine/orm": "~2.2,>=2.2.3", // v2.4.6
        "doctrine/doctrine-bundle": "~1.2", // v1.2.0
        "twig/extensions": "~1.0", // v1.2.0
        "symfony/assetic-bundle": "~2.3", // v2.5.0
        "symfony/swiftmailer-bundle": "~2.3", // v2.3.7
        "symfony/monolog-bundle": "~2.4", // v2.6.1
        "sensio/distribution-bundle": "~3.0", // v3.0.9
        "sensio/framework-extra-bundle": "~3.0", // v3.0.3
        "incenteev/composer-parameter-handler": "~2.0", // v2.1.0
        "hautelook/alice-bundle": "~0.2" // 0.2
    "require-dev": {
        "sensio/generator-bundle": "~2.3" // v2.4.0

Let's not just use Symfony, let's conquer it! In this series, you and I will journey to the center of Symfony by ripping open the source code, adding debug statements and seeing what really happens between the request and the response. It's as geeky-awesome as it sounds.

Besides dinosaurs, expect to do the following on our adventure:

  • Create an event listener that does amazing things
  • Step through the HttpKernel::handle() method that's used in Symfony and Drupal 8
  • See where event like kernel.request, kernel.response and others are dispatched
  • Learn about request attributes and the magic they give us
  • Find out what is a sub-request and how to handle it
  • Create your own sub-request manually

Next courses in the Symfony 3: Go Deep section of the Symfony 3 Track!


Sort By
Login or Register to join the conversation
Default user avatar Tanariel 6 years ago

Hello Ryan,

This tutorial is a really nice journey through the guts of Symfony.

I'm using the framework since nearly 2 years now and i can't stress enough how this course made clear some parts of code i was using without fully understanding the "how" that was behind. It really opened new horizons to me.

Thank you really much for this quality course.

1 | Reply |

Ah, so happy to hear that! Thanks for the comment :)

1 | Reply |
Default user avatar s.molinari 6 years ago

I am just short of getting a subscription, but I just don't have a feeling about what I am purchasing or why I should, other than I like the videos a lot. They are well done and professional and I am learning! However, these are my contemplations about continuing to support you as a customer.

I can see all the videos available, however, if I paid for them all separately, they are a total purchase value of around $100. If I pay for a year, I am paying for a lot in advance, with only one tutorial showing in work. I think I'll avoid the yearly subscription, because I don't see the value.

If I pay for a month and from the timing show, I'd probably get most of the training done in that month. $25 for just over $100 of videos. Nice! That is value. But, am I locked into a year of payments? Or can I stop any time? There is nothing mentioned in the terms about the subscription policy. That sort of stops me from going with a subscription. If you tell me I can stop at any time, I'll be buying a month's worth and we'll go from there.

I see this tutorial (and why I ended up commenting on it), and I am very interested in it, but I don't see when the rest of it will be made available. I really think planned dates for release of videos, even if roughly with "in the week of", should be published and not "This course is still being released! Check back for more." Why should I check back for anything? This is an Internet service!:D I feel, if I am a customer, I should either expect a release on a certain date and also get a reminder, when it is released. You actually have this feature for guests!:)

Hope I could help! I am not complaining. I wanted to just give you my point of view as a "customer".


1 | Reply |

Hey Scott!

Thanks for the questions and feedback! I can use this to help make things more clear - because these are good questions. So:

1) When you get the monthly subscription, you can have it for as little as 1 month. That's totally ok and up to you :). And yes, that would be a good deal indeed! As we post more and more content this month and 2015, the yearly will make more sense (because you'll see more consistent, new content). But the choice is still yours.

2) I think you're right about having the dates! I'll work to put that in soon - I agree that there isn't good transparency into what is coming and when. We should fix that. And the notification ability is available to everyone, but not once the first chapter appears (we should fix that too!).

I hope this helps - feel free to drop questions or feedback at any time. And thanks for the nice words about the videos!!!


1 | Reply |

That is great Ryan. Glad I could help. I think you have a good thing going, as these have to be some of the best quality videos on the Internet currently for learning PHP and Symfony. I am going to go get a month's subscription. Thanks and looking forward to the improvements. Especially more news on future video releases. :)

2 | Reply |

Hey, Ryan !

Learning Symfony with your tutorials at hand was so much fun, at the same time it already helped me a lot.

I guess that distilling best practices out of topics such as APIs is a troublesome task, and I'm quite happy that someone takes action on it. So I'd say you may just take all the time it takes for bringing them to a real good end.

IMO subscription is well worth every cent - and be it just as some sort of support, thnx :)


| Reply |
Andrei-V avatar Andrei-V 6 years ago

Great agenda)

| Reply |
Default user avatar Francisco J. 6 years ago

Great tutorial, this course has no option to download the video?

| Reply |

Hey Francisco!

We just uploaded the full video :).


| Reply |
Default user avatar Francisco J. weaverryan 6 years ago


| Reply |
Default user avatar s.molinari 6 years ago


You are killing me! But, in a nice way.:D This is a great tutorial (now that it is finished and thanks for noting the publishing date!;)). But, phew! I knew the basics of Symfony and this tutorial opened my eyes even wider to the possibilities with Symfony and how things actually work internally. Great job Ryan!

But, then you mention a couple of these great possibilities with subrequests in the last video and I am like "Yes, HTTP caching and ESI! Huh? Noooooo! Say what? That is the end! More coming in new videos? Darnit!" *Wiping drool from sides of mouth*

Looking very forward to those next videos and thank you for these!:D


| Reply |

Haha, I love to hear this! :)

We're doing some planning next week, and after that, we'll put up the next round of upcoming screencasts (with dates of course!). And if you're on the mailing list, we'll ping you there too.


| Reply |

If at all possible, one subject I am still stuck on is doing unit testing with Symfony. I am sure I am not the only one.;)


| Reply |
Default user avatar Łukasz Zaroda 6 years ago

Hello! I would just like to say that I paid for a yearly subscription, not because I really needed it, because you are publishing all videos scripts for free, and I could just dig through them, but at the same time I really wanted to show you my appreciation precisely for this - for you giving away the knowledge for which in any other place I would need to pay, and no product satisfies me more than seeing that great approach to people (and not only customers). Really great job at not hiding a knowledge and still profiting from it. Cheers :) .

| Reply |

Thanks Łukasz - that's really awesome of you and means a lot to me! It was definitely my goal to not "lock up" the knowledge :). Cheers!

| Reply |

Delete comment?

Share this comment

astronaut with balloons in space

"Houston: no signs of life"
Start the conversation!