Skip Navigation

PHP 8.2 security support ends Dec 31: notes from moving projects to 8.3/8.4

Reminder for anyone still on 8.2: security support ends December 31, 2026 (https://www.php.net/supported-versions.php). What we found useful when moving projects from 8.2 to 8.3/8.4: • Run your test suite with E_ALL and deprecations logged first. Most issues show up as deprecations before they become errors. • Check extensions and Composer constraints: composer why-not php 8.4 tells you which packages block the upgrade. • Rector has upgrade sets (LevelSetList::UP_TO_PHP_84) that handle most of the mechanical changes. • Don't forget Docker base images and CI matrices; they are usually where 8.2 survives longest. • 8.4 brings property hooks and asymmetric visibility, but nothing forces you to use them right away. A plain runtime bump is a valid first step. What blocked your last upgrade: a framework, an extension, or a third-party plugin?

Comments