KwikTech Symfony · API Platform · Doctrine upgrades
Guides

Upgrade guides

What actually changes, in which order to do it, and the code involved. Written from doing these upgrades, not from the changelogs alone.

Also in Deutsch

Upgrading Symfony 5.4 to 6.4: the complete guide

Step-by-step: PHP 8.1, deprecations to zero, the new security system instead of Guard, Swiftmailer to Mailer, annotations to attributes, and the 6.4 composer update itself.

14 min read · updated 2026-09-12

Upgrading Symfony 6.4 to 7.4: deprecations, return types and the jump

How to get a 6.4 application to 7.4 LTS in one release: deprecation hunting with the PHPUnit bridge, patching return types, what 7.0 removed, and the composer update.

11 min read · updated 2026-09-12

API Platform 2.6 to 3: migrating resources, data providers and persisters

The 2.7 bridge release, api:upgrade-resource, explicit operations, state providers and processors, subresources as URI templates, and the filters that moved.

13 min read · updated 2026-09-12

API Platform 3 to 4: the state-based flow, RFC 7807 errors and Hydra changes

Flip the 3.4 compatibility flags one at a time, move off the event listeners, adopt the new error format and the unprefixed Hydra keys, then bump to 4.x.

10 min read · updated 2026-09-12

Upgrading Doctrine ORM 2 to 3 (and DBAL 3 to 4) in a Symfony application

Annotations to attributes, lazy ghosts instead of proxies, custom DBAL types, removed APIs, the DoctrineBundle flags to set first, and how to verify the schema did not change.

12 min read · updated 2026-09-12

Replacing abandoned Symfony bundles: SensioFrameworkExtra, Guard, Swiftmailer, FOSRest, FOSUser

What each abandoned bundle did, what replaces it in Symfony 6.4 and 7.4, and the code change involved, with before and after examples.

12 min read · updated 2026-09-12

Which guide applies to you?

Upload your composer.lock and the scan tells you your current Symfony, API Platform and Doctrine versions, the packages that block the next step, and the order to do it in.

Scan my project