Skip to main content

Introduction to Laravel 12 and What Is New

1/28
Chapter 1 Getting Started with Laravel 12

Introduction to Laravel 12 and What Is New

15 min read Lesson 1 / 28 Free Preview

Welcome to Laravel 12

Laravel 12, released on February 24, 2025, is the latest major version of the most popular PHP framework. While it focuses on stability and developer experience, it introduces several important changes you need to know.

What Is New in Laravel 12

New Starter Kits — Laravel 12 replaces Breeze and Jetstream with three modern starter kits:

  • React Starter Kit — Inertia 2, TypeScript, shadcn/ui, Tailwind CSS
  • Vue Starter Kit — Inertia 2, TypeScript, shadcn-vue, Tailwind CSS
  • Livewire Starter Kit — Flux UI components, Laravel Volt, Tailwind CSS

WorkOS AuthKit Integration — Optional authentication with social login, passkeys, and SSO — free for up to 1 million monthly active users.

Automatic Eager Loading (12.8+) — Tackles N+1 query problems automatically:

// Before: manual eager loading required
$posts = Post::with(['author', 'tags'])->get();

// Laravel 12.8+: automatic eager loading
$posts = Post::all();
// Related models loaded automatically when accessed

PHP 8.2 – 8.5 Support — Full compatibility with the latest PHP features including readonly classes, typed constants, and enums.

Why Laravel?

Laravel provides an expressive, elegant syntax paired with powerful features: Eloquent ORM, Blade templating, built-in authentication, queue management, real-time events, and a massive ecosystem of first-party packages.

Course Structure

This course covers 7 chapters taking you from installation to production deployment. Each lesson includes working code examples you can follow along with. By the end, you will have built a complete application and understand professional Laravel development.