Talk to an engineer

Symfony upgrades along the long-term support line

Symfony's deprecation layer makes upgrades predictable when they are done in the right order. We move applications from Symfony 2.x, 3.x and 4.x to a current long-term support release, clearing deprecations on each minor before the next major.

LTS to LTS

We plan the path through Symfony's long-term support releases, so every stop on the way is a supported version.

Deprecations as a checklist

Symfony reports exactly what the next major removes. We clear that list on the current version, then switch majors with nothing left to break.

Doctrine alongside

Doctrine ORM and its annotations move with the framework. We upgrade both together, including annotations to PHP attributes.

Where Symfony upgrades get stuck

The framework is rarely the problem. The work is in what grew around it.

Bundles that stopped at an old Symfony major

Doctrine ORM and DBAL majors, and annotations replaced by attributes

Moving from the old directory layout to Symfony Flex

Custom compiler passes and event listeners that relied on removed services

Twig, Monolog and security configuration that changed format between majors

How we run it

Symfony's own upgrade model, applied with discipline.

Move to the last minor of the current major and run with deprecation logging on

Clear every deprecation, with Rector's Symfony rules for the mechanical ones

Switch majors once the log is empty, then repeat

Upgrade PHP at the points where each Symfony major requires it

Common questions

Which version should we end on?

The current long-term support release, unless you have a reason to follow the latest minor. It gives the longest stretch of support for the work done.

Do you upgrade Silex applications?

Yes. Silex is end of life, so the usual answer is a move onto Symfony itself, route by route.

Find out what your PHP estate needs

Tell us which versions you run and where. An engineer replies within one business day.