🚀 Available for Freelance, Remote, and Full-Time Opportunities. Let's build something amazing together.

News
2 min read

What We Know About Laravel 14

An in-depth preview of what is coming in Laravel 14, including PHP 8.4+ requirement, enhanced container performance, updated defaults, and deprecation timelines.

A

Author

1 week ago

What We Know About Laravel 14

As the Laravel ecosystem continues its relentless pace of innovation, attention has begun turning toward the upcoming release of Laravel 14. Following the annual release cadence established in recent years, Laravel 14 brings modern language primitives, aggressive container optimizations, and clean developer workflows.

PHP 8.4 Minimum Requirement

Laravel 14 will officially require PHP 8.4 or higher. This requirement unlocks several powerful PHP language improvements across framework internals:

  • Property Hooks: Built-in property get/set hooks drastically reduce the boilerplate needed for custom Eloquent model accessors and mutators.
  • Asymmetric Visibility: Native public private(set) modifiers will enhance immutability on core framework value objects and events.
  • New Array Find Functions: Native array_find(), array_find_key(), and array_any() functions directly reduce auxiliary collection overhead.

Container & Dependency Injection Speedups

Early benchmarks from core contributors show noticeable performance improvements in service container resolution. By taking advantage of pre-compiled reflection caches and streamlined pipeline middleware, application boot times and memory usage have been trimmed down across high-concurrency requests.

// Utilizing PHP 8.4 property hooks in Laravel 14 models
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Invoice extends Model
{
    public float $amount;

    public string $formattedAmount {
        get => '$' . number_format($this->amount, 2);
    }
}

Deprecations and Smooth Upgrade Path

Consistent with Laravel's commitment to developer ergonomics, Laravel 14 maintains an effortless upgrade path for apps on Laravel 13. Upgrading via Laravel Shift or Composer will take less than thirty minutes for most compliant applications.