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:
| Version | Status | Recommendation |
|---|---|---|
| Symfony 4.4 and older | no longer maintained | upgrade urgently |
| Symfony 5.4 LTS | no regular bug fixes any more | plan an upgrade |
| Symfony 6.4 LTS | bug fixes until late November 2026, security fixes only after that | upgrade in the coming months |
| Symfony 7.4 LTS | current long-term support version | target 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
- 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.
- 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.
- 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.
- 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.
- 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.