This tutorial has been upgraded! Check out the Symfony 3 Tutorial.
PHP has been on a wild ride over the past few years, with new things like namespaces, our package manager called Composer, and whole lot more sharing and friendship between projects. And in a lot of ways, Symfony has been in the driver's seat for all of that. So congrats on making it here: you're on a path to building great applications.
Let's look at some facts:
This means that you can use any part of it in any PHP project, even that ugly legacy app they make you work. We could use Symfony's Router component to give it flexible URLs. Oh, and a lot of other projects use parts of Symfony, like Drupal, Laravel
And because we don't have time to worry about putting a bunch of libraries together, we have the Symfony framework. This is a "suggestion" of how everything can work together in a consistent system. We'll be using the Symfony framework in this course.
Silex is another framework built on Symfony and its goal is to be tiny & really easy to use.
I know what you're wondering: should I use the Symfony framework or this Silex guy? Use them both. Because they both use the same pieces, when you're done with this course, you'll be a certifiable Silex expert.
Yep, Symfony tries to be as boring as possible by following widely-used standards. This makes it effortless to include and use other libraries in your project. Want to use a component of Zend Framework? We can do that with just a little bit of configuration.
Clearly, you won't be lonely! There's a lot of us out there working with it.
In this course, we're going to kick off your Symfony journey by building an events application. To sweeten the deal, you'll also be mastering the most important concepts used across all frameworks and web apps in general, because Symfony steals from, ahem, builds off of the shoulders of other giants.
So even if you don't want to, when you're building something in Symfony, you'll be learning best-practices and probably becoming a better developer. You've been warned!
In this course, we've got some big goals:
Ready? Let's go!