Contents

Symfony and PHP version compatibility

Choose a Symfony version to see its minimum PHP and support dates, or type the PHP version your server runs to see every Symfony version that runs on it.

Every Symfony version symfony.com gives a minimum PHP version for, taken from symfony.com/releases on .
SymfonyMinimum PHPLTSReleasedBug fixes untilSecurity fixes untilStatus on October 13, 2026
8.28.4.0NoNovember 2026July 2027July 2027Not released yet
8.18.4.0NoMay 2026January 2027January 2027Bug and security fixes
8.08.4.0NoNovember 2025July 2026July 2026No longer supported
7.48.2.0YesNovember 2025November 2028November 2029Bug and security fixes
7.38.2.0NoMay 2025January 2026January 2026No longer supported
7.28.2.0NoNovember 2024July 2025July 2025No longer supported
7.18.2.0NoMay 2024January 2025January 2025No longer supported
7.08.2.0NoNovember 2023July 2024July 2024No longer supported
6.48.1.0YesNovember 2023November 2026November 2027Bug and security fixes
6.38.1.0NoMay 2023January 2024January 2024No longer supported
6.28.1.0NoNovember 2022July 2023July 2023No longer supported
6.18.1.0NoMay 2022January 2023January 2023No longer supported
6.08.0.2NoNovember 2021January 2023January 2023No longer supported
5.47.2.5YesNovember 2021November 2024February 2029Security fixes only
5.37.2.5NoMay 2021January 2022January 2022No longer supported
5.27.2.5NoNovember 2020July 2021July 2021No longer supported
5.17.2.5NoMay 2020January 2021January 2021No longer supported
5.07.2.5NoNovember 2019July 2020July 2020No longer supported
4.47.1.3YesNovember 2019November 2022November 2023No longer supported
4.37.1.3NoMay 2019January 2020July 2020No longer supported
4.27.1.3NoNovember 2018July 2019January 2020No longer supported
4.17.1.3NoMay 2018January 2019July 2019No longer supported
4.07.1.3NoNovember 2017July 2018January 2019No longer supported
3.45.5.9YesNovember 2017November 2020November 2021No longer supported

The table comes from Symfony's own release data and is refreshed each time this site is built; the date under it is when it was taken. Nothing you type here leaves your browser.

How to check which PHP your Symfony project needs

  1. Find the Symfony version. In the project, run php bin/console --version. Without a working console, composer show symfony/framework-bundle reads it from the lock file.
  2. Pick it above. The first line is the lowest PHP that version accepts.
  3. Find the PHP version the server really runs. php -v on the command line, but the web server can run a different PHP from the command line on the same machine, so check phpversion() from a page as well before trusting either.
  4. Type that PHP version in the second box to see every Symfony version it can run, and which of them still receive fixes.

What LTS means for Symfony

Symfony releases a new minor version every six months, in May and November. The last minor of each major version -- 5.4, 6.4, 7.4 -- is a long-term support release. Symfony's release process gives a standard release eight months of fixes, and an LTS release three years of bug fixes and four of security fixes. The table above uses the dates symfony.com publishes for each version, which is where any extension to those periods shows up.

Bug fixes and security fixes are separate dates for a reason. Once bug fixes end, a version still receives patches for vulnerabilities, so it is safe to run while you plan an upgrade. Once security fixes end, it is not.

Upgrading PHP and Symfony together

Composer will tell you what stands in the way before you change anything on the server:

composer why-not php 8.4

It lists every package in the project, Symfony's included, that refuses that PHP version. When the server is behind your machine, pin Composer to the server's version in composer.json, so composer update never installs a package the server cannot run:

{
    "config": {
        "platform": {
            "php": "8.2.0"
        }
    }
}

The minimum is not the maximum

Symfony publishes the lowest PHP each version needs and does not publish a highest. An old Symfony version usually installs on a much newer PHP, and then fills the log with deprecation notices, because PHP has deprecated things it relies on. Treat a PHP upgrade of more than one minor version past what a Symfony version was released against as an upgrade to test, not one to assume.