Laravel News 2024 Recap

Last updated on by

Laravel News 2024 Recap image

I've hand-picked some of the biggest stories at Laravel News in 2024. This year was massive, with our new Laravel Creator Spotlight series and huge announcements from Laravel like Laravel Cloud, Inertia.js 2.0, an official Laravel VS Code extension, and more!

Let's take a look at the highlights of each month in 2024:

January: Laravel Scout Adds Typesense

In January, we Dove into the Streamlined Directory Structure in Laravel 11. Part of the Laravel 11 release was slimming down folders and files that were not necessary on a fresh installation of Laravel. Instead, folders and files were created as needed when you generated an event listener, console command, etc.

Runners up:

February: Laravel Reverb

In February, we saw the launch of Laravel Reverb, a new first-party WebSocket server for Laravel applications that brings real-time communication between client and server.

Runners up:

March: Laravel 11

Laravel 11 was released on March 12, 2024, as the next major release of Laravel.

Laravel 11 included some excellent additions to the framework, including:

  • Streamlined Directory Structure: Simplified application structure by removing unnecessary files and directories.
  • Model Casts as Methods: Allows dynamic and flexible casting logic by defining casts as methods instead of properties.
  • New Dumpable Trait: Provides dd and dump methods directly within classes for easier debugging.
  • New /up Health Route: A built-in health check endpoint that triggers a DiagnosingHealthEvent.
  • APP_KEY Rotation: Supports graceful rotation of the APP_KEY without breaking existing encrypted data.
  • Slimmed Default Migrations: Consolidated and simplified migrations, reducing files and removing date prefixes.
  • Eager Load Limit: Limits the number of eager-loaded relationships to improve query performance.
  • PHP 8.2 Minimum Requirement: Laravel 11 now requires PHP 8.2 or higher.
  • New Welcome Page: An updated default welcome page for new Laravel applications.
  • And more...

Runners up:

April: PHP 8.4 Property Hooks Passes RFC Vote

In April the upcoming PHP 8.4 release got hot with Property Hooks Becoming a Reality in PHP 8.4. Property hooks provide two hooks to override the default set and get behavior of a property.

class User implements Named
{
private bool $isModified = false;
 
public function __construct(
private string $first,
private string $last
) {}
 
public string $fullName {
// Override the "read" action with arbitrary logic.
get => $this->first . " " . $this->last;
 
// Override the "write" action with arbitrary logic.
set {
[$this->first, $this->last] = explode(' ', $value, 2);
$this->isModified = true;
}
}
}

Runners up:

May: Statamic 5

Statamic 5 was released in May 2024, which focuses on performance improvements, developer experience, and continued modernization of the code base.

  • Laravel 11 support
  • Dropped support for Laravel 9 and PHP 8.0. * Sites can be managed in the control panel.
  • Approved sites may use offline license validation.
  • Laravel Reverb support
  • Ability to fake SQL queries for the Stache.
  • Ability to install first-party addons using install:eloquent-driver, install:ssg, and install:collaboration commands.
  • And more...

Runners up:

June: The Ultimate Guide to Laravel Validation

In June, Ashley Allen wrote The Ultimate Guide to Laravel Validation, which walks through everything you need to know to get started with and be productive with Validation in Laravel applications.

  • Purpose of Validation: Ensures data meets specific criteria to enhance security and data integrity.
  • Validation Methods: Laravel supports manual validation with the Validator facade and form request validation for cleaner controllers.
  • Built-in Validation Rules: These include common rules like required, unique, max, and regex for various scenarios.
  • Custom Validation Rules: Allows developers to create unique rules for specific application needs.
  • Testing Validation Logic: Testing validation rules ensure reliability and prevent issues with invalid data.
  • Client-Side vs. Server-Side: Server-side validation is crucial for security, as client-side checks can be bypassed.

Runners up:

July: Laravel Creator Spotlight

Eric Barnes started the Laravel Creator Spotlight podcast and YouTube series, featuring interviews with creators making cool things in Laravel. The first Creator Spotlight interview was on July 28, featuring Matt Stenson, creator of the Laravel Advanced String Package.

Runners up:

August: Laracon US 2024

Laracon US 2024 had a host of exciting announcements coming to Laravel. Highlights from Taylor Otwell's Laracon US Keynote 2024 summarizes some of the key announcements:

Runners up:

September: Pest 3 Released

We caught our first glimpse of Pest 3 during Laracon US, and then Pest 3 was released soon after in September. Pest 3 brought the ambitious mutation testing feature, architecture presets, and more:

  • Mutation Testing: An innovative new technique that introduces small changes to your code to see if your tests catch them.
  • Arch Presets: A set of predefined rules for testing your application's architecture.
  • New Configuration API: A new configuration API that is more intuitive and easier to use.
  • More Architectural Testing Improvements: New expectations, @pest-arch-ignore-line, and more.
  • And Much More...: Constants in Type Coverage, static analysis improvements, and more.

Runners up:

October: Laravel Prism

In October, TJ Miller released the initial version of Laravel Prism and AI package for Laravel. Prism provides a seamless interface for AI providers like OpenAI, Anthropic, and Ollama, with a clean, expressive syntax.

Runners up:

November: PHP 8.4

In November, PHP 8.4 was released with Property Hooks, Class Instantiation without extra parenthesis, and more. PHP 8 just gets better and better with each annual release, and this year was no exception:

  • Array Find Functions: New functions like array_find(), array_find_key(), array_any(), and array_all() make searching and evaluating arrays more efficient.
  • Property Hooks: Streamlined getter and setter logic through property hooks simplifies managing property access in classes.
  • Improved Instantiation: Classes can now be instantiated without parentheses when directly accessing methods or properties, enhancing readability.
  • New DateTimeImmutable Feature: A createFromTimestamp() method allows easier creation of immutable date objects.
  • And more...

My favorite PHP 8.4 feature is class instantiation without extra parenthesis:

// Before
(new Request())->withMethod('GET')->withUri('/hello-world');
 
// PHP 8.4
new Request()->withMethod('GET')->withUri('/hello-world');

Runners up:

December: Laravel VS Code and Inertia.js 2.0

Announced in August at Laracon US 2024, we saw the release of Laravel VS Code Extension Public Beta in December! It is free to download as a public beta, including auto-complete, navigation links, hover information, and more:

  • Intelligent Auto-completion: Offers context-aware suggestions for app bindings, configuration settings, environment variables, routes, middleware, translations, validations, and views, streamlining code writing.
  • Direct Navigation Links: Enables quick access to definitions of bindings, configurations, environment variables, routes, middleware, translations, and views, facilitating efficient code navigation.
  • Real-time Diagnostics and Warnings: Identifies missing bindings, assets, configurations, environment variables, routes, middleware, translations, and views, providing immediate feedback to prevent errors.
  • Hover Information: Displays detailed information when hovering over various elements, aiding in understanding code context without leaving the editor.
  • Blade Syntax Highlighting: Enhances readability of Blade templates through improved syntax highlighting, making it easier to work with Laravel's templating engine.

Also in December, Inertia 2.0 was released, with asynchronous requests, deferred props, prefetching, polling, and more.

Runners up:

Looking Forward to Laravel in 2025

Laravel News has published a ton of Laravel content this year to help you stay up to date with the latest news in the Laravel community. We have a lot of exciting content planned for Laravel News in 2025! Join the Laravel Newsletter, subscribe to our YouTube channel, and follow along on social media to stay up to date on everything Laravel.

Jacob Bennett and Michael Dyrynda continue to publish regular episodes on the Laravel News Podcast, giving you the latest updates on the go!

If you're interested in partnering with us, explore our Laravel News Partners program or sign up to become a Laravel News partner today!

Lastly, thank you, the Laravel News readers, watchers, and listeners! We appreciate your support!

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in:
Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

Laravel Forge logo

Laravel Forge

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Forge
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $7500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Cut PHP Code Review Time & Bugs into Half with CodeRabbit logo

Cut PHP Code Review Time & Bugs into Half with CodeRabbit

CodeRabbit is an AI-powered code review tool that specializes in PHP and Laravel, running PHPStan and offering automated PR analysis, security checks, and custom review features while remaining free for open-source projects.

Cut PHP Code Review Time & Bugs into Half with CodeRabbit
Laravel Idea for PhpStorm logo

Laravel Idea for PhpStorm

Ultimate PhpStorm plugin for Laravel developers, delivering lightning-fast code completion, intelligent navigation, and powerful generation tools to supercharge productivity.

Laravel Idea for PhpStorm
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $2500/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Lunar: Laravel E-Commerce logo

Lunar: Laravel E-Commerce

E-Commerce for Laravel. An open-source package that brings the power of modern headless e-commerce functionality to Laravel.

Lunar: Laravel E-Commerce
LaraJobs logo

LaraJobs

The official Laravel job board

LaraJobs
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Supercharge Your SaaS Development with FilamentFlow: The Ultimate Laravel Filament Boilerplate logo

Supercharge Your SaaS Development with FilamentFlow: The Ultimate Laravel Filament Boilerplate

Build your SaaS application in hours. Out-of-the-box multi-tenancy and seamless Stripe integration. Supports subscriptions and one-time purchases, allowing you to focus on building and creating without repetitive setup tasks.

Supercharge Your SaaS Development with FilamentFlow: The Ultimate Laravel Filament Boilerplate
JetShip - Laravel Starter Kit logo

JetShip - Laravel Starter Kit

A Laravel SaaS Boilerplate and a starter kit built on the TALL stack. It includes authentication, payments, admin panels, and more. Launch scalable apps fast with clean code, seamless deployment, and custom branding.

JetShip - Laravel Starter Kit
Rector logo

Rector

Your partner for seamless Laravel upgrades, cutting costs, and accelerating innovation for successful companies

Rector
MongoDB logo

MongoDB

Enhance your PHP applications with the powerful integration of MongoDB and Laravel, empowering developers to build applications with ease and efficiency. Support transactional, search, analytics and mobile use cases while using the familiar Eloquent APIs. Discover how MongoDB's flexible, modern database can transform your Laravel applications.

MongoDB

The latest

View all →
Permanent Record Deletion with Laravel's forceDestroy image

Permanent Record Deletion with Laravel's forceDestroy

Read article
DigitalOcean API Client for Laravel image

DigitalOcean API Client for Laravel

Read article
Interactive Console Commands in Laravel image

Interactive Console Commands in Laravel

Read article
Simplified Stream Response Handling in Laravel image

Simplified Stream Response Handling in Laravel

Read article
Television is a Multi-purpose Fuzy Finder TUI image

Television is a Multi-purpose Fuzy Finder TUI

Read article
Handling Process Synchronization with Laravel Cache Locks image

Handling Process Synchronization with Laravel Cache Locks

Read article