The Knp University site has a new post to their blog sharing how they migrated to Symfony 2.7, the latest release of the popular PHP framework.
Symfony 2.7 - the next LTS release - came out on Saturday, with bells and whistles like 100+ new features/enhancements and a surprise new bridge component to PSR-7. So, we decided to upgrade immediately and report back. Let's go!
They walk through each stage of the process, sharing code and summaries about what changed along the way (including the update to the composer.json):
- You need to upgrade sensio/distribution-bundle
- You Need -with-dependencies
- Upgrading FOSUserBundle
- Fixing Behat 2.5
It's a pretty short list and obviously your milage may vary depending on what version you're updating from, but most recent versions shouldn't have too much trouble.