array_map( ?->getCustomer() mysqli_connect( try { PHP 7.4 → 8.5 #[\ReturnTypeWillChange] use Psr\Log\Logger <?php str_contains($path, '/v2') $this->logger->error( fn($x) => $x * 2 PHP 7.4 → 8.5 $result |> trim(...) } catch (\Throwable $e) { public function __construct( public function __construct( static fn(): never namespace App\Billing; try { fn($x) => $x * 2 str_contains($path, '/v2') namespace App\Billing; PHP 7.4 → 8.5 session_start(); SELECT * FROM orders public string $name { get; } fn($x) => $x * 2 declare(strict_types=1); use Psr\Log\LoggerInterface; array_map( PHP 7.4 → 8.5 <?php public string $name { get; } mysqli_connect( session_start(); PHP 7.4 → 8.5 ?->getCustomer() opcache.enable=1 random_bytes(32) E_DEPRECATED opcache.enable=1 try { E_DEPREC E_DEPRECATED enum Status: string opcache.enable=1 <?php array_map( match ($status) { composer require mysqli_connect( namespace App\Billing; composer require match ($status) { <?php public function __construct( readonly class Money final class Invoice str_contains($path, '/v2') str_contains($path, '/v2') readonly class Money str_contains($path, '/v2') session_start(); composer require #[\ReturnTypeWillChange] $result |> trim(...) namespace App\Billing; array_map( ?-> return $this; match ($status) { use Psr\Log\LoggerInterface; json_validate($body) public string $name { get; } mysqli_connect( try { session_start(); array_map( readonly class Money $result |> trim(...) $result |> trim(...) private readonly int $id, namespace App\Billing; enum Status: string array_map( mysqli_connect( static fn(): never random_bytes(32) array_map( re use Psr\Log\LoggerInterface; PHP 7.4 → 8.5 mysqli_connect( array_map( fn($x) => $x * 2 public function __construct( composer requi public string $name { get; } private readonly int $id, return $this; array_map( <?php #[\ReturnTypeWillChange] $this->logger->error( $this->logger->error( session_start(); session_start(); enum Status: string } catch (\Throwable $e) { private readonly int $id, public string $name { g final class Invoice enum Status: string final class Invoice PHP 7.4 → 8.5 PHP 7.4 → 8.5 PHP 7.4 → 8.5 session_start(); public function __construct( password_hash( final class Invoice mysqli_connect( public function __construct(
array_map( ?->getCustomer() mysqli_connect( try { PHP 7.4 → 8.5 #[\ReturnTypeWillChange] use Psr\Log\Logger <?php str_contains($path, '/v2') $this->logger->error( fn($x) => $x * 2 PHP 7.4 → 8.5 $result |> trim(...) } catch (\Throwable $e) { public function __construct( public function __construct( static fn(): never namespace App\Billing; try { fn($x) => $x * 2 str_contains($path, '/v2') namespace App\Billing; PHP 7.4 → 8.5 session_start(); SELECT * FROM orders public string $name { get; } fn($x) => $x * 2 declare(strict_types=1); use Psr\Log\LoggerInterface; array_map( PHP 7.4 → 8.5 <?php public string $name { get; } mysqli_connect( session_start(); PHP 7.4 → 8.5 ?->getCustomer() opcache.enable=1 random_bytes(32) E_DEPRECATED opcache.enable=1 try { E_DEPREC E_DEPRECATED enum Status: string opcache.enable=1 <?php array_map( match ($status) { composer require mysqli_connect( namespace App\Billing; composer require match ($status) { <?php public function __construct( readonly class Money final class Invoice str_contains($path, '/v2') str_contains($path, '/v2') readonly class Money str_contains($path, '/v2') session_start(); composer require #[\ReturnTypeWillChange] $result |> trim(...) namespace App\Billing; array_map( ?-> return $this; match ($status) { use Psr\Log\LoggerInterface; json_validate($body) public string $name { get; } mysqli_connect( try { session_start(); array_map( readonly class Money $result |> trim(...) $result |> trim(...) private readonly int $id, namespace App\Billing; enum Status: string array_map( mysqli_connect( static fn(): never random_bytes(32) array_map( re use Psr\Log\LoggerInterface; PHP 7.4 → 8.5 mysqli_connect( array_map( fn($x) => $x * 2 public function __construct( composer requi public string $name { get; } private readonly int $id, return $this; array_map( <?php #[\ReturnTypeWillChange] $this->logger->error( $this->logger->error( session_start(); session_start(); enum Status: string } catch (\Throwable $e) { private readonly int $id, public string $name { g final class Invoice enum Status: string final class Invoice PHP 7.4 → 8.5 PHP 7.4 → 8.5 PHP 7.4 → 8.5 session_start(); public function __construct( password_hash( final class Invoice mysqli_connect( public function __construct(
Laravel upgrades, major by major, without a freeze
Laravel ships a major release every year, and most raise the minimum PHP version. We take applications from Laravel 5.x and later to the current release, one major at a time, with the PHP upgrade planned alongside.
Each Laravel major is its own release to production, with its dependency changes and its PHP minimum handled before the next step begins.
Packages first
Third-party packages pinned to old majors are the usual blocker. We map every one before estimating, and replace the abandoned ones.
PHP in step
Laravel's PHP requirement rises with each major. The framework and the runtime move together, so neither blocks the other.
Where Laravel upgrades get stuck
Laravel's own upgrade guides are good. The time goes elsewhere: in packages, in code that leans on framework internals, and in changes to the libraries Laravel builds on.
Packages that never released support for a newer Laravel major
Filesystem and mail changes when Laravel moved to Flysystem 3 and Symfony Mailer
Carbon, Guzzle and PHPUnit majors arriving at the same time
Customized framework classes and macros that relied on internals
Queues, jobs and scheduled tasks that need testing under load, not just in unit tests
How we run it
The same incremental method as every PHP upgrade, with Laravel-specific tooling.
Composer constraint audit and a compatibility report per target major
Rector and static analysis for the mechanical changes
Feature tests on routes, jobs and policies before anything changes
Each major merged and deployed before the next one starts
Common questions
Can you skip Laravel versions?
Rarely safely. Each major's upgrade guide assumes the previous one. Done steadily, each step is small, and several can ship in a single quarter.
Do you upgrade Lumen too?
Yes. Lumen applications are usually best moved onto Laravel itself while upgrading, since Lumen is no longer recommended for new work.
Find out what your PHP estate needs
Tell us which versions you run and where. An engineer replies within one business day.