Service

Symfony Upgrade to 7.4 LTS – planned and without downtime

Your application still runs on Symfony 5 or 6 and an old PHP version? I move it step by step to Symfony 7.4 LTS and a current PHP version without disrupting day-to-day operations.

Why should I upgrade my Symfony application?

Older Symfony and PHP versions eventually stop receiving security updates. The longer you wait, the more versions you have to skip at once, and that gets more expensive every year. An upgrade also brings better performance and modern tooling.

How long does a Symfony upgrade take?

It mainly depends on the size of the application, the number of dependencies and whether there are tests. Small applications are often done in a few days, large projects take several weeks. After the analysis you get a concrete estimate.

Does the application have to go offline during the upgrade?

No. The upgrade happens in a separate branch and test environment. It only goes live once everything has been verified, and even then with a way back.

Which Symfony version is still safe?

Symfony releases a long-term support (LTS) version every two years, which is maintained for several years. For business applications this is the version you should be on. The current situation at a glance:

VersionStatusRecommendation
Symfony 4.4 and olderno longer maintainedupgrade urgently
Symfony 5.4 LTSno regular bug fixes any moreplan an upgrade
Symfony 6.4 LTSbug fixes until late November 2026, security fixes only after thatupgrade in the coming months
Symfony 7.4 LTScurrent long-term support versiontarget for most upgrades

PHP itself matters just as much. PHP 8.1 has not received security updates since the start of 2026, and security support for PHP 8.2 ends in late 2026. Symfony 7 requires at least PHP 8.2. In practice we therefore upgrade PHP as part of the same project.

What changes between Symfony 5, 6 and 7

Most changes are well documented and can partly be automated. Typical work items in an upgrade are:

  • Security system: the old Guard system is gone, login and permissions run through the new authenticators.
  • Annotations become attributes: routes, Doctrine mappings and validation rules move to PHP attributes.
  • Types and return values: Symfony requires stricter signatures, your own classes have to be adapted.
  • Dependencies: packages like SwiftMailer have been replaced, Doctrine ORM 3 and DBAL 4 bring their own changes.
  • Third-party bundles: some bundles are no longer maintained and need to be replaced or rebuilt.

How a Symfony upgrade works

  1. Analysis: I check versions, dependencies, custom bundles, test coverage and the deprecation log. The result is a list of all work items with an effort estimate.
  2. Safety net: if tests are missing, I first write tests for the most important workflows, such as login, ordering or invoicing. That way any unintended change shows up immediately.
  3. Remove deprecations: all warnings are fixed while still on the old version. Tools like Rector take over a lot of routine work, PHPStan finds type errors.
  4. Version jump: only once the old version runs cleanly is the next major version installed. From 5.4 we go via 6.4 to 7.4, each time with a full test run.
  5. Testing and go-live: the upgraded application first runs on a staging environment where you check the key workflows yourself. Then comes the deployment, with a way back.

What does a Symfony upgrade cost?

I offer the analysis at a fixed price. Afterwards you know which work items exist and what the upgrade will cost. The upgrade itself can also be done at a fixed price if the scope is clear, or on a time-and-materials basis if questions come up along the way that nobody could see beforehand.

The biggest cost drivers are missing tests, many unmaintained packages and custom solutions that touch Symfony internals. Conversely, an upgrade is much faster if the application already has tests and was built close to Symfony standards. Taking every LTS version along costs less overall than skipping three major versions at once.

How I work

I keep my own projects on current versions: Mirwena runs on Symfony 7.4 LTS with around 870 automated tests, the Freelancer CRM on Symfony 8.1 with PHP 8.5. Tests and static analysis run automatically on every push. I bring exactly this way of working to upgrade projects, so that your application is not only up to date after the upgrade but can stay that way.

Symfony 7.4 LTS PHP 8.x Rector PHPStan PHPUnit