Warning: You are browsing the documentation for Symfony 2.3, which is no longer maintained.
Read the updated version of this page for Symfony 5.3 (the current stable version).
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.
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:
- Upgrading a Patch Version (e.g. 2.6.0 to 2.6.1)
- Upgrading a Minor Version (e.g. 2.5.3 to 2.6.1)
- Upgrading a Major Version (e.g. 2.7.0 to 3.0.0)
- Upgrading a Third-Party Bundle for a Major Symfony Version
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.