Modernizing legacy PHP applications: from PHP 5 and 7 to PHP 8

How to upgrade old PHP applications to current PHP 8 releases step by step: tests, Composer, Rector, PHPStan, replacing mysql_* code with PDO and moving towards Laravel.