symfony-upgrade

Upgrade Symfony applications by managing deprecations with PHPUnit Bridge and Rector.

20|1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill symfony-upgrade
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: symfony-upgrade
Source: https://github.com/krzysztofsurdy/code-virtuoso/tree/main/skills/frameworks/symfony/symfony-upgrade
Command: npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill symfony-upgrade

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the complex and error-prone process of upgrading Symfony applications to new minor or major versions, ensuring a smooth transition with minimal disruption.

Core Features & Use Cases

  • Deprecation Management: Guides users through identifying and fixing deprecation warnings using tools like PHPUnit Bridge and Rector.
  • Version-Specific Guidance: Provides tailored steps for minor and major version upgrades, including recipe updates and bundle compatibility checks.
  • Use Case: You need to upgrade a Symfony 6.4 application to Symfony 7.0. This Skill will walk you through reading the changelog, fixing deprecations with Rector, updating Symfony components, and applying new recipes.

Quick Start

Use the symfony-upgrade skill to upgrade your Symfony application from version 6.4 to 7.0.

Frequently Asked Questions about symfony-upgrade

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upgrade Symfony to a new major version?

Upgrading Symfony involves a deprecation-first approach: reading changelogs, resolving deprecation warnings via PHPUnit Bridge and Rector, updating composer dependencies, and applying new recipes.

What is the best way to fix Symfony deprecation warnings before upgrading?

The best way to fix Symfony deprecation warnings is using PHPUnit Bridge to identify them and Rector to automatically refactor and resolve the deprecated code.

How do I update composer dependencies and recipes during a Symfony version upgrade?

During a Symfony upgrade, update composer dependencies via command line and apply new recipes to ensure your application structure matches the target framework version's conventions.

Can I use Rector to automate Symfony framework migrations?

Yes, you can use Rector to automate Symfony migrations by configuring it to identify and refactor deprecated code patterns, significantly reducing manual upgrade effort.

Does upgrading Symfony major versions require checking third-party bundle compatibility?

Yes, upgrading Symfony major versions requires checking third-party bundle compatibility to ensure installed bundles support the target framework version and prevent runtime errors.