PHP upgrade checklist
Pick your current and target PHP versions and get every breaking change, deprecation and tooling step in between, as a checklist you can copy.
Before and after: the routine for any upgrade
Version-specific checks
No account, uploads or PHP execution. Your inputs stay on this device.
How to use the checklist
Pick the version you run today and the one you are moving to. The list covers every release in between, because skipping a version does not skip its changes: going from 7.4 to 8.4 includes everything that changed in 8.0, 8.1, 8.2 and 8.3. Copy it into an issue or pull request and tick items off as you verify them.
The checks are a curated summary of the official UPGRADING notes for each release, focused on the changes that most often break real applications. They are not exhaustive. For the complete list, read the migration guide for each version in the PHP manual, and let tools find what they can: Rector for mechanical rewrites and PHPStan for removed functions and type errors.
What order to work in
- Get the test suite green on the current version.
- Upgrade Composer dependencies to releases that support the target version.
- Fix deprecations on the current version first: they are warnings now and errors later.
- Switch CI to the target version, fix breaking changes, then deploy to staging.