Symfony2 training

From Novice to Ninja


"Yes, we're going to go through A LOT, so bring your best game and get ready to do some hands-on coding." − Ryan Weaver, Symfony core member, lead author of the official doc, awesome trainer at KNP Labs

The training will follow two basic philosophies:

You're going to code This isn't a two-day speech, there are no textbooks and no tests. You're going to be coding the whole time so that you've physically done everything we cover. So, bring your A-game and rest your weary fingers...

You're going to build something real Theory follows practice. Yes, when you leave you will understand security, the service container, Twig, forms and lot's more. But not because we studied the API (yawn), because we built something real that you can take home with you.


So what's on the menu?

  • The Basics: Starting a project from scratch, namespaces, autoloading, bundle creation, routes, controllers and templates (Twig!). Nothing too dangerous, yet...

  • Doctrine: Configuration, entities, custom queries using repositories, timestampable and sluggable Behaviors, and lifecycle callbacks. We'll start from the basics, but get quite far in.

  • Forms + Validation: Creating a basic form with validation, complex validation constraints, embedding forms, complex field rendering and custom fields. We'll start with a basic form and dive deeper and deeper.

  • Security: We'll see the basics of security as we secure our new application and then amp-up the access-control complexity. Security is a huge topic, and you'll be well on your way to mastering it.

  • Caching: Hands-on caching using the Symfony2 HTTP reverse proxy. You'll have a real-life cached application before you're done.

  • Service Container: Once you know the basics of the service container (which we promise you'll love), you'll quite literally be unstoppable in Symfony2...

  • Assetic: Don't just include stylesheets and Javascript files in your application, run them through filters (e.g. LESS, SASS, etc), combine them into a single file and compile them.

  • Imagine: While we're at it, let's handle images correctly using Imagine to resize and transform images (using the AvalancheImagineBundle).

  • Behat: We'll explore "Behavior driven development" using Behat. With Behat, you start by writing human-readable sentences that focus on the desired "Behavior" of your application. Behat can then execute these sentences as tests on your application and can even (using Mink) use them to run in-browser Selenium tests!

Depending on demand and time, we'll introduce a few of the most popular and powerful Symfony2 bundles such as the MenuBundle, UserBundle, SonataAdminBundle and FacebookBundle.

Anything else you'd like to see? Let us know! To register, contact us.


2 - 3 days
Intra Cost:
contact us
≤ 8 trainees
To know PHP
Available in the whole world.

Next sessions

30 May - 31 May
290 € early bird
390 €
per person
Book it
20 May - 22 May
1490 €
per person
Book it
1490 €
per person
Book it
Nashville, TN
14 Apr - 16 Apr
per person
Intra* your time on demand More info

Intra-company training: we come to your company (anywhere in the world) to train your team.