symfony-upgrade

Installation
SKILL.md

Symfony Framework Upgrade

Symfony's upgrade model rests on one fact: a new major version is the last minor of the previous branch with the deprecated code removed. Fix all deprecations first and the major upgrade becomes a small step.

Core Principles

Principle Meaning
Changelog first Before any upgrade, read the UPGRADE-X.Y.md file for the target version and the CHANGELOG.md of the Symfony packages you use. Never rely on built-in knowledge alone
Deprecation-first Fix every deprecation on the current version before upgrading to the next major. Symfony 8.0 is 7.4 minus deprecations
Incremental minor upgrades Upgrade 6.2 -> 6.3 -> 6.4 and do not skip minors, because each one surfaces new deprecations
Recipes keep config current Run composer recipes:update after every upgrade to sync configuration files
Test deprecation count Use SYMFONY_DEPRECATIONS_HELPER to fail builds when direct deprecations appear
Update bundles first Third-party bundles are the most common blocker - update them before bumping Symfony

First step: read the changelog

Installs
130
GitHub Stars
36
First Seen
Mar 7, 2026