Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.


You are browsing the documentation for Symfony 2.6 which is not maintained anymore.

Consider upgrading your projects to Symfony 5.2.

Recipes about Upgrading

The Symfony Cookbook is a continuously growing collection of specific recipes that explain how to correctly solve the most recurrent problems that Symfony developers face in their day to day work.

2.6 version


So a new Symfony release has come out and you want to upgrade, great! Fortunately, because Symfony protects backwards-compatibility very closely, this should be quite easy.

There are three types of upgrades, all needing a little different preparation:

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.