Static check finds few PHP 8 language blockers in old Laravel projects; framework layer is the real risk
A developer built a CLI called laravel-compat to separate the language-level from the framework-level work of upgrading legacy Laravel apps to PHP 8. Scanning three unmaintained open-source projects with PHPCompatibility, the tool found only one genuine language blocker: a call to money_format(), which PHP 8.0 removed. Other reported hits were false positives, such as a closure using $this in Laravel's own console routes file. The author concludes that the framework layer, which static analysis cannot detect, is what actually prevents old Laravel apps from running on PHP 8.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in