Upgrading a Laravel 11 Application to Laravel 13 and PHP 8.5: What It Took
We moved a client's Laravel 11 application on PHP 8.2 to Laravel 13 and PHP 8.5. The staging setup, the Composer changes and the three code fixes it needed.
Emyrix Blog
Every post tagged php, newest first.
We moved a client's Laravel 11 application on PHP 8.2 to Laravel 13 and PHP 8.5. The staging setup, the Composer changes and the three code fixes it needed.
Slow means at least three different things, with three different fixes. How to find out which one you have before paying somebody to optimize the wrong thing.
PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 fix phpAfterShell and up to 17 other CVEs. Which server settings expose you, what to check, and how to update and restart.
The PHP version is usually the real blocker in a Laravel upgrade, not the framework. What each release requires, and what has to change on the server.
You don't need to read the code to know whether your Laravel application is looked after. Six questions, and what a good answer to each one sounds like.
Four hops, four sets of breaking changes. What actually breaks at each step from Laravel 9 to 13, and why the official time estimates describe the framework, not your app.
Laravel sets the right Cache-Control on HTML and nothing on your assets. Here's the nginx map we use, and the admin panel refetching a megabyte on every page.
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix CVE-2026-109618 and CVE-2026-109619, two unauthenticated RCE bugs in PHP itself. What's affected and how to update.
Laravel 11 stopped getting security fixes in March 2026 and Laravel 12 stopped getting bug fixes in August. How to check where you stand and what it means.
A contact form field became a clickable link in our admin. Escaping didn't cover it, because an href is not text. What we shipped, and how it's fenced now.
The honest case for building on Laravel: what you get for free, why hiring is easier, what it costs to run, and the projects where it is the wrong answer.
Our React pages painted nothing until the JavaScript ran. We prerender them at build time now instead of running an SSR service. Here's what that moved.
A step-by-step CSP rollout for a Laravel application: where to set the header, the policy to start from, collecting violation reports, and how to enforce safely.
Two days of Report-Only reports on our Laravel site found a third-party request nobody chose and a framework requirement we had to grant. What both cost.
What PHP 8.6 adds, what it deprecates, and what we measured moving the same code from PHP 7.4 through every 8.x release to 8.6 — with and without the JIT.
Compiled plugins, PHP 8.4 lazy objects and bfcache all ship in the Mage-OS distribution. One of them was proposed to Magento years ago and never merged. What each does, and what to verify.
Mage-OS 3 ships an interactive installer, a 98-package minimal install, returns and an admin audit log. It also drops PHP 8.2 and removes setup:backup. What to check before you take it.
A practical guide to upgrading Magento 2.4.6 to 2.4.9 — the two-step path, infrastructure prerequisites, the three framework changes that break extensions, and how to audit your codebase before you start.
Working through one of these?
Upgrades, performance work, and emergency support for Magento, Adobe Commerce, Shopware, and custom Laravel builds.