Menu

Test Your Laravel App on PHP 8.4 and 8.5 with Docker
📰

Test Your Laravel App on PHP 8.4 and 8.5 with Docker

DEV Community: laravel·devTalk·3 days ago
#Ct4XRqlG
#devtolaravel#devto#dev#docker#compose
Long article (2595 words) — no AI summary yet.
Reading 0:00
15s threshold

Last updated: 18 November 2026. Based on Laravel 13.x, PHP 8.4.27 and PHP 8.5.12. See How this was checked at the end, because the Docker images themselves were not pulled for this article.

Most upgrade problems are not crashes. The app boots on the new PHP version, the tests go green, and the first sign of trouble is a deprecation warning in production logs, or a Composer package that refuses to install. The way to find them early is to run your real test suite on each PHP version you might deploy, side by side, without touching the PHP on your laptop.

The timing is not abstract. According to endoflife.date , PHP 8.4 leaves active support on 31 December 2026, PHP 8.2 loses security support the same day, and PHP 8.5 (released 20 November 2025) is supported until the end of 2029. The Laravel 13 docs list PHP 8.3 to 8.5 as supported.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.