This contains the code from my blog post http://whitewashing.de/2014/10/26/symfony_all_the_things_web.html