PHP 8.5 and Symfony 8: what’s new and how to upgrade

November 2025 brought PHP 8.5 with the pipe operator and built-in URI parsing, plus Symfony 8.0 and the 7.4 LTS. Which to choose and how to upgrade step by step.

November 2025 brought PHP developers two big releases: PHP 8.5 on November 20 and Symfony 8.0 on November 27, together with the long-term Symfony 7.4 LTS.

What’s new in PHP 8.5

$slug = $title
    |> trim(...)
    |> strtolower(...)
    |> (fn ($s) => preg_replace('/[^a-z0-9]+/', '-', $s));

Symfony 8.0 or 7.4 LTS

Symfony 8.0 requires PHP 8.4 or later. It removes everything deprecated in the 7.x branch and makes fuller use of modern language features. Symfony 7.4 ships the same new features but keeps backward compatibility and gets long-term support.

Upgrade plan

  1. Update the project to the latest minor version of its branch and to PHP 8.4.
  2. Log deprecation warnings and fix them: in Symfony 8 those calls are simply gone.
  3. Run Rector with the PHP and Symfony rule sets, then static analysis (PHPStan).
  4. Update third-party bundles. This is where most problems show up.
  5. Bump Symfony in composer.json, run the tests and check the flows by hand on staging.

We have been building on Symfony for years and regularly move projects between major versions. Let us estimate your upgrade.

Free audit

Need a team for a demanding project?

We will review your platform or idea and estimate the work within 3 business days.

Discuss a project
Discuss a project