Laravel Mastery
This path takes you from your first Laravel route to an app you can still change later: queued jobs that survive failures, tests that fake mail, queues and HTTP calls, APIs with rate limits and the right auth package, and a codebase split into modules instead of one big app folder.
It's a curated list of docs, video courses, conference talks and books in 24 chapters. It assumes you know PHP; if you don't, start with PHP Mastery. Chapters 1 to 8 cover the framework in order: routing, Blade, Eloquent, the database, validation, auth, the service container and testing. Chapters 9 to 20 cover queues, events, APIs, Inertia, Livewire, Filament, Statamic, tooling, performance, real-time, deployment and AI: open the one that matches the problem in front of you. Chapters 21 to 23 cover refactoring, architecture and packages, and chapter 24 collects Taylor Otwell's keynotes and selected Laracon talks.
You don't need every resource. Pick one per chapter and use it on a real project before you move on.
Laravel Fundamentals
Chapter 1Install Laravel and build a small app end to end: routes, controllers, Eloquent, Blade, authentication and deployment. Then look up the parts you use every day: the request lifecycle, the directory structure, Artisan commands and the release notes.
Laravel From Scratch (2026 Edition)
Build a Laravel app from an empty project and learn routing, controllers, Eloquent, Blade, authentication, authorization, queues, testing and deployme...
Getting Started with Laravel
Build Chirper, a Twitter-like microblogging app, in 13 lessons: set up the project, add routes and a model, create tables, store and edit records with...
Laravel Documentation
Read the installation guide and then look up any part of the framework or the first-party packages. Free. Official Laravel docs.
Laravel News
Keep up with the Laravel ecosystem through tutorials, packages and framework news published every day, plus a newsletter that arrives every Sunday. In...
Release Notes
Check what changed in the current version: Laravel 13 requires PHP 8.3 and adds the Laravel AI SDK, JSON:API resources, queue routing and expanded PHP...
Request Lifecycle
Follow a request from public/index.php through the HTTP kernel, service providers and routing to the response. Gives a high-level overview so the fram...
Directory Structure
Find where code lives in a default Laravel app: app, bootstrap, config, database, public, resources, routes, storage, tests and vendor, plus the subdi...
Artisan Console
Use Artisan and write your own commands: Tinker, arguments and options, prompting for input, writing output, closure commands, isolatable commands and...
Blade and Views
Chapter 2Build views with Blade: layouts, components, slots, directives and Vite asset bundling. You'll see where Blade, Livewire and Inertia each fit, and how the Blaze package speeds up Blade component rendering.
Blade Templates
Write Blade views with directives, layouts, class-based and anonymous components, slots, attribute merging, stacks and subviews. Free. Official Larave...
Asset Bundling (Vite)
Bundle CSS and JavaScript with Vite: the @vite directive, hot module replacement, server-side rendering, and setups for Vue, React, Svelte and Inertia...
Frontend
Compare the two ways to build a Laravel frontend: PHP with Blade and Livewire, or JavaScript with React, Svelte or Vue through Inertia. Describes the...
Blaze Deep-Dive
Speed up Blade component rendering with the Blaze package, and learn what makes the default rendering slow. Advanced, about Blaze rather than general...
Getting Started with Laravel, "Showing the feed" lesson
Turn repeated markup into reusable Blade components and format timestamps to build a styled feed. One 5m lesson from the Chirper course in Chapter 1....
Eloquent ORM
Chapter 3Define models and relationships, transform attributes with accessors, mutators and casts, and query with both Eloquent and the query builder. Spot N+1 queries, fix them with eager loading, and speed up Eloquent on larger datasets.
Eloquent: Getting Started
Define models and their conventions, retrieve and chunk results, insert and update records, use mass assignment, soft deletes, query scopes, events an...
Eloquent: Relationships
Define every relationship type, including has-one-through and polymorphic ones, then load them with eager loading, constrained eager loads and automat...
Eloquent: Mutators & Casting
Transform attribute values on read and write with accessors, mutators, attribute casting, enum casting, encrypted casting and custom casts. Free. Offi...
Database: Query Builder
Build queries with the fluent query builder: joins, subquery where clauses, raw expressions and chunking results. Shows how to drop below Eloquent whe...
Eloquent Relationships Deep Dive
Work through hasOne and belongsToMany, filtering eager-loaded relationships, pivot data and custom pivot models, has-many-through, polymorphic and man...
Laravel 13 Eloquent: Expert Level
Learn casts, accessors and mutators, local and global scopes, N+1 detection and prevention, polymorphic relations, has-many-through, and when to pick...
Eloquent Performance Patterns
Make Eloquent queries faster with database subqueries, indexes and a way to make N+1 issues impossible. Advanced. Recorded in 2023, so check the examp...
Database, Migrations and Seeding
Chapter 4Write migrations, squash old ones, and run them safely in production. Fill your database with factories and seeders, and learn column types, indexes and foreign keys.
Database: Migrations
Write migrations to version your schema, modify columns, add indexes and foreign keys, squash old migrations, roll back, and run migrations in product...
Database: Seeding
Write seeders, call them from model factories, chain additional seeders, mute model events and run seeders. Free. Official Laravel docs.
Eloquent: Factories
Define model factories with default attributes, then use states, sequences, callbacks and factory relationships (has-many, belongs-to, many-to-many) t...
MySQL for Developers
Design an efficient schema and index it: integers, decimals, strings, enums, dates, JSON, schema migrations, B+ trees, composite and covering indexes,...
High Performance SQLite
Set up SQLite for production: strict types, generated columns, WAL mode, busy timeout, transaction modes, composite, covering and partial indexes, alt...
The value of a good database model
Compare two designs for the same data, a single JSON column and two normalised tables, and see why good design drives performance. Includes notes on h...
Validation and Form Requests
Chapter 5Validate requests with Laravel's built-in rules, custom rules and conditional rules. Move validation out of controllers into Form Requests.
Validation
Look up the available validation rules, add rules conditionally, write custom rules, and use Form Requests with authorization and the prepareForValida...
Form Request Classes
Move validation rules into a dedicated Form Request class: scaffold a StoreIdeaRequest, use the authorize and rules methods, customise messages, and d...
Authentication and Authorization
Chapter 6Sign users in with guards and providers, start from a starter kit (React, Svelte, Vue or Livewire), and control access with gates and policies. Learn when to choose Sanctum or Passport for API and OAuth2 authentication.
Authentication
Understand guards and providers, the session guard, remember-me and the starter kit options. Read it before you reach for a package. Free. Official La...
Starter Kits
Start a new app with a ready-made kit: React, Svelte, Vue or Livewire, with registration, login, two-factor authentication, teams and WorkOS AuthKit o...
Authorization
Control access with gates, policies, policy filters, and authorization through middleware. Free. Official Laravel docs.
Laravel Sanctum
Authenticate single-page apps, mobile apps and simple token-based APIs. Covers API token authentication, SPA authentication and mobile application aut...
Laravel Fortify
Add a frontend-agnostic, headless authentication backend when you want to build your own login screens. It powers the current starter kits. Free. Offi...
Laravel Passport
Run a full OAuth2 server in your app. The "Passport or Sanctum?" section says to use Passport only if you need OAuth2, and Sanctum for single-page app...
Authentication Explained
Build registration and login by hand: register and login routes, RegisteredUserController and SessionsController, password hashing, the @auth and @gue...
Authorization Using Policies
Centralise authorization for a model in a policy class (IdeaPolicy), and call it with $this->authorize('update', $idea) or middleware. Free on Laracas...
Service Container and Service Providers
Chapter 7Bind and resolve classes and interfaces through the container, use contextual binding and tagged services, and register it all in service providers, including deferred ones. See how facades resolve from the container, and why a singleton that holds state leaks between jobs and requests in long-running processes.
Service Container
Look up how Laravel binds and resolves classes: zero-configuration resolution, binding interfaces to implementations, contextual binding and attribute...
Service Providers
Look up where bindings and bootstrapping live: the register and boot methods and deferred providers. The page states that your own application and all...
Facades
Look up how facades work and when to use them: facades versus dependency injection, facades versus helper functions, how facades work under the hood,...
Learn the Laravel Service Container
Learn why Laravel has a service container before learning its methods. Starts from live-coded code with no container, then adds auto-resolving, explic...
Laravel Singletons Can Be Dangerous in Long Living Processes
See a real state-leak bug: a singleton that stores the current team keeps that team from one job to the next under Octane and Horizon. Explains why lo...
Testing Laravel Applications
Chapter 8Write feature and database tests with Pest or PHPUnit: make HTTP requests, assert on responses, reset the database, and fake mail, queues, events and HTTP calls. Then decide what to test first, speed up a slow suite, and write browser tests with Pest.
Testing: Getting Started
Set up testing in a Laravel app and run it: the environment, creating tests, running tests, parallel runs, coverage and profiling. Pest and PHPUnit bo...
HTTP Tests
Call your app from a test and assert on the result: making requests, headers, cookies, session and authentication, testing JSON APIs, file uploads and...
Database Testing
Reset the database between tests, build test data with model factories, run seeders, and look up the database assertions. RefreshDatabase only migrate...
Testing With Fakes
Replace real side effects in feature tests with Laravel's built-in fakes: Mail, Bus, Event and Http. Covers asserting how many mailables went out, fak...
Testing in Laravel 13 For Beginners
Write automated tests for a Laravel 13 app in Pest, with the same code repeated in PHPUnit at the end of each lesson. Covers feature and unit tests, a...
Pest Documentation
Look up Pest: installation, expectations, datasets, higher-order tests, architecture testing and plugins, plus a guide for migrating from PHPUnit. Doc...
Browser Testing
Write browser tests in Pest: install the browser plugin and Playwright, visit a page and assert on what it shows, while keeping Laravel's database ref...
Effective tests and testing effectively
Speed up a slow suite and decide what to test first. Covers caching config, routes and views before a run, keeping big seeders out of the base test se...
Queues, Jobs and Horizon
Chapter 9Move slow work onto queues: pick a driver, write jobs, chain and batch them, retry and rate limit them, and handle failures. Run Redis queues under Horizon, watch them in its dashboard, and learn the production traps: retry limits, timeouts, unique-job locks and restarts on deploy.
Queues
Look up the queue system end to end: connections and drivers, job classes, unique jobs, job middleware and rate limiting, chains and batches, max atte...
Laravel Horizon
Run and watch Redis queues with Horizon: installation, configuration, dashboard authorization, max attempts, timeouts and backoff, auto and simple bal...
Laravel Queue Mastery
Learn the queue system by watching it used: dispatching and running jobs, attempts and failures, dispatching workflows, controlling and limiting jobs,...
Laravel Worldwide Meetup - Queues, Jobs, and Workers: Building Resilient Background Processing
Follow a live-demoed tour of Laravel queues told through a theme-park metaphor: queue priorities, multiple workers kept alive by Supervisor, retry str...
Building a Video Processing Pipeline with Laravel Queues
See how queues carry a multi-step workflow that waits on a third-party service. Covers storing a webhook event before dispatching so duplicate deliver...
Laravel Queues in Action
Read how to run queues in production: choosing a queue driver, scaling with Horizon, handling queues on deployments, designing reliable jobs, dealing...
My Laravel Horizon preferences after 5 years of using it
Set up Horizon the way someone running 1M+ jobs a day does: slim, small and quick jobs, separate queues to isolate workloads, unique jobs that never r...
A Series of Unfortunate Jobs
Avoid six queue mistakes shown with code: retryUntil is counted from dispatch and not from when the job starts, Horizon retries forever when no tries...
Events, Listeners and Broadcasting
Chapter 10Define events and listeners, queue the listeners, hook into the Eloquent model lifecycle with model events and observers, and broadcast events to the browser with Reverb and Echo.
Events
Look up how events work: generating and registering events and listeners, event discovery, queued listeners (with notes on database transactions and m...
Eloquent: Getting Started
Hook into a model's lifecycle: the events Eloquent dispatches (retrieved, creating, created, updating, saved, deleting and more), grouping listeners i...
Broadcasting
Push events to the browser over WebSockets: server-side broadcasting with Reverb, channel authorization, presence channels, and Laravel Echo on the cl...
Architecture of Complex Web Applications (chapter 7, Events)
Read one chapter on events in application design. It argues that explicit events triggered in controlled places are more stable than hidden Eloquent m...
APIs with Laravel
Chapter 11Build a JSON API: shape responses with API resources, choose between Sanctum and Passport, rate limit routes, version the API, and generate documentation with Scribe.
Eloquent: API Resources
Turn models and collections into JSON: resources, resource collections, conditional attributes, meta data and pagination. Also has a JSON:API Resource...
Laravel Passport
Choose between Sanctum and Passport. The "Passport or Sanctum?" section says to use Passport if your application needs OAuth2, and Sanctum for a singl...
Routing
Limit requests to a route or group of routes: defining rate limiters, attaching them to routes, segmenting limits, multiple limits and response-based...
Introduction (Scribe)
Generate API documentation from your Laravel code: a single-page HTML doc with a Try It Out tester, a Postman collection and an OpenAPI spec. Request...
Laravel API Master Class
Build and protect a web API from scratch: versioning, authentication with tokens, filters, sorting, policies, token abilities, error handling, and doc...
Inertia and SPAs
Chapter 12Build a single-page app on Laravel's own routing and validation with Inertia v3 and React or Vue: pages, props, shared data, partial reloads, deferred props, polling, prefetching and server-side rendering. A talk from the Laravel team previews what v3 changes.
Inertia.js Documentation
Look up how Inertia works: no client-side routing and no API, with React, Vue and Svelte adapters. Pages cover shared data, partial reloads, deferred...
Inertia 2 Unleashed
Learn Inertia 2's new features one at a time: polling, prefetching, deferred props, lazy loading and infinite scrolling. Written for Inertia 2 with Vu...
React, The Laravel Way
Build a React app on top of a Laravel backend with Inertia: JSON resources, server-side search filtering, pagination, Inertia forms, image uploads and...
Learn Inertia
Learn the Inertia basics with Vue and without building an API: setup, pages, shared data, forms, validation and navigation. The page dates it about th...
State of the Frontend
Preview what changed in Inertia v3 by watching one live upgrade of an Inertia 2 app: the new Vite plugin, a default createInertiaApp, a layout option,...
Livewire
Chapter 13Build Livewire 4 components with properties, actions, forms, events, lifecycle hooks and single-file components, and add Alpine where the browser needs its own state. Then build common interface patterns: inline editing, toast notifications, a multi-step wizard, dynamic search and a kanban board.
Livewire Documentation
Look up Livewire 4 as you build: components in single-file, multi-file and class-based formats, properties, actions, forms, events, lifecycle hooks, n...
Everything New in Livewire 4
Learn what Livewire 4 changed from its creator: view-based components, page components, installing Flux, unit and browser testing, islands for isolate...
Practical UI Components With Livewire and Alpine
Build interface patterns from real apps with Livewire and Alpine: inline editing, toast notifications, a multi-step wizard, dynamic search, infinite s...
The TALL Developer
Build a job board with Tailwind, Alpine, Laravel and Livewire, starting from Alpine.js basics and Livewire basics and then combining the two. Written...
Filament
Chapter 14Build a Filament 5 panel with resources, forms, tables, relation managers and custom pages. Then go past the internal admin panel: a second panel for end users, CSS and render hooks, dashboard widgets, and Filament tables and forms on public pages.
What is Filament?
Look up how Filament 5 defines interfaces in PHP on top of Livewire and Alpine: resources, forms, tables, relation managers, custom pages and navigati...
Filament 5 in Depth
Build a Roadmap app with Filament 5: panel installation and resources, enum-driven UI, authorization with policies, the table repeater, infolists, Tog...
Customizing Filament For User-Facing Apps
Build a user-facing app called Booknest on Filament instead of an internal admin: two panels, CSS hooks, dashboard widgets and a customized login page...
Filament: Advanced Practical Examples
See what Filament can do beyond CRUD: attendance and availability grids and a heat map as custom pages and widgets, table grids, about 100 render hook...
Statamic
Chapter 15Install Statamic, build a first site, and model content with collections, blueprints and taxonomies. Learn both templating options, Antlers and Blade. The docs and quick start cover Statamic 6; the video series is from 2022.
Learn Statamic
Look up Statamic 6 as you build: collections, blueprints, taxonomies, and the Antlers and Blade templating pages. Free. Official Statamic docs.
Quick start guide
Install Statamic and build a small personal site step by step, with a collection, a blog show template, a first partial and a customized blueprint. Ab...
Learn Statamic with Jack
Learn how Statamic works from its founder: taxonomies, Antlers, building add-ons, starter kits, the database driver and how the Stache works. Recorded...
Laravel Ecosystem Tooling
Chapter 16Format code with Pint, tail logs with Pail, try code in Tinker, and inspect a running app with Telescope and Pulse. Run the app in Docker with Sail and test it in a browser with Dusk or Pest browser tests (see Testing), then add typo fixing, PHPStan, Rector and type coverage to your checks.
Laravel Pint
Fix code style across a project with Pint, an opinionated fixer built on PHP CS Fixer that is installed with every new Laravel application. Free. Offi...
Logging: Tailing Log Messages Using Pail
Tail your logs from the command line with Pail and filter them with --filter, --message, --level and --user. Pail works with any log driver, including...
Artisan Console: Tinker (REPL)
Run PHP against your app from a REPL powered by PsySH. Tinker is included in every Laravel application. Free. Official Laravel docs.
Laravel Telescope
Debug a local app by watching its requests, exceptions, log entries, queries, queued jobs, mail, notifications, cache operations, scheduled tasks and...
Laravel Pulse
Watch performance and usage with Pulse: slow jobs and endpoints, slow queries, exceptions and your most active users, plus custom cards. Pulse is a se...
Laravel Sail
Run a Laravel app in Docker without prior Docker knowledge: PHP, MySQL and Redis, with sail up to start it and sail tinker for a session. The default...
Laravel Dusk
Automate a browser to test your app with Dusk and its standalone ChromeDriver. The docs recommend Pest browser testing for new projects, so read this...
Modern PHP Tooling
Add quality tools to a Laravel project one at a time: customize Pint with pint.json, fix typos with Peck, run PHPStan with Larastan, apply Rector rewr...
Performance and Octane
Chapter 17Measure before you change anything: find slow and N+1 queries, use the cache and Redis, turn on OPcache and profile with SPX. Then run the app under Octane with FrankenPHP, Swoole or RoadRunner, learn how Octane works inside and which state leaks to avoid, and see when it pays off and when it does not.
Laravel Octane
Serve your app from a long-running worker with FrankenPHP, Open Swoole, Swoole or RoadRunner. Covers installation, dependency injection under Octane,...
Laravel Octane
Learn the traps of a long-running worker: avoiding memory and state leaks, container gotchas, and running Octane in production. The only server it use...
Behind Laravel Octane
Understand what Octane does for you: how PHP-FPM handles requests with a pool of processes and a fresh boot each time, how Octane boots workers, clone...
Laravel Octane (FrankenPHP) vs. PHP-FPM: what I measured, and why we went back
Read one team's benchmark of Octane on FrankenPHP against PHP-FPM. For an I/O-bound workload the gains were too small to justify the extra moving part...
Cache
Cache slow queries and computed data with Cache::remember, then use cache tags, atomic locks and cache failover. Free. Official Laravel docs.
Redis
Configure Redis for Laravel: connections, clusters, Predis or PhpRedis, interacting with Redis, pipelining and pub/sub. Free. Official Laravel docs.
SQL performance: finding the queries to fix (part 1)
Find the queries worth fixing: let MySQL report slow queries and queries that lack indexes, and let Laravel warn you about N+1 queries with Model::pre...
No more slow requests
Speed up a Laravel app by measuring it: the four causes of slowness developers reported to the speaker (the database, outgoing HTTP requests, work tha...
Scaling PHP - one Laravel app, three runtimes
Load test one Laravel 12 app served three ways and compare the numbers: PHP-FPM, FrankenPHP and an Octane worker, using k6 and Grafana. Covers the num...
Real-time with Reverb and Echo
Chapter 18Add real-time features with Reverb and Echo: install broadcasting, authorize private and presence channels, send client events, and choose between polling, queued events and instant events. Deploy a Reverb server with Forge and set up what it needs before real traffic arrives: open files, the event loop, ports, process management and horizontal scaling.
Laravel Reverb
Install and run Reverb, Laravel's first-party WebSocket server, and prepare it for production: open files, the event loop, web server, ports, process...
Broadcasting
Subscribe to broadcast events from JavaScript with Laravel Echo: client-side installation, authorizing channels, listening for events, presence channe...
Get Real With Laravel Reverb
Install and configure Reverb and build chat features with it: event broadcasting, authorizing channels, typing indicators, presence, model broadcastin...
Realtime with Laravel Reverb
Learn the Reverb basics by example: installing, configuring and running a server, broadcasting events, customizing event data, queued events, private...
Building Realtime Collaborative Apps with Laravel
Learn the pieces of a real-time app and when to use each: php artisan install:broadcasting, presence and private channels in routes/channels.php, whis...
Deploying Reverb with Forge
Put a Reverb server on a Forge-managed server: toggle Reverb in Forge, add the DNS records for the WebSocket subdomain, enable SSL, then rebuild asset...
Deploying Laravel
Chapter 19Put a Laravel app on a server with Forge, Laravel Cloud or Envoyer and know what each one does. Cover zero-downtime deploys, queue workers, scheduled tasks, health checks, monitoring, backups and rollbacks.
Deployment
Check an app is ready for production: server requirements, Nginx or FrankenPHP configuration, directory permissions, caching config, events, routes an...
Welcome to Laravel Forge
Provision servers and deploy Laravel apps with Forge: zero-downtime deployments, queue workers, the scheduler, background processes, database backups...
Welcome to Laravel Cloud
Deploy to Laravel Cloud, the managed platform from the Laravel team: compute and workers, managed queues, scheduled tasks, deployments, secrets, datab...
Introduction (Envoyer)
Deploy PHP apps with zero downtime using Envoyer: deployment hooks, rollbacks, application health checks, cron job monitoring and importing your Forge...
Learn Laravel Forge
Watch Forge set up end to end: provisioning servers, zero-downtime deploys, scheduled jobs and heartbeats, background processes and queue workers, mon...
Laravel and AI
Chapter 20Add an AI feature to a Laravel app with the official Laravel AI SDK: build a tool-using agent, return structured output, stream and queue responses, and test AI code without calling a provider. Expose your app to AI clients with Laravel MCP, set up Laravel Boost so coding agents write idiomatic Laravel, and see how an agent loop works underneath.
Laravel AI SDK
Build AI features with the official SDK: agents with tools, structured output, streaming, failover between providers, embeddings and vector stores, hu...
Laravel AI SDK
Watch the SDK's creator go through it feature by feature: a first agent, structured output, queued and streamed responses, image generation, audio, em...
The Batteries-Included AI Toolkit
Build AI features into a helpdesk app: structured output, chat with memory, streaming, tool use, retrieval over your database, testing without hitting...
So You Want to Build an Agent
Learn what separates an agent from a chat: the agent loop, extracting a tool class, structured output, filesystem tools, compacting and agent memory....
Building a CLI Coding Agent from Scratch
See how an agent works underneath: the model versus the program around it that runs its tool calls, the loop that keeps calling tools until the model...
Laravel MCP
Let AI clients use your app through the Model Context Protocol: define servers, tools, resources and prompts, add OAuth 2.1 or Sanctum authentication,...
AI Assisted Development
Read how Laravel approaches AI-assisted development and how Boost gives coding agents tools to inspect your app's structure, database and routes. Free...
Laravel Boost
Set up Boost so coding agents write idiomatic Laravel: its MCP server, AI guidelines, agent skills and documentation API. Boost is a development-time...
Leveraging AI for Laravel Development
Work with AI coding tools on a Laravel project: Laravel Boost, prompting, Claude commands, skills and subagents, testing, and the Ralph Wiggum techniq...
Refactoring Laravel Code
Chapter 21Clean up a messy Laravel class in small, safe steps: name things clearly, flatten nested code, break up God objects, replace primitives with value objects, tighten types with PHPStan, and run Rector across a codebase. Then judge whether a change made the code better.
BaseCode Reloaded
Make code easier to read: remove dead code, avoid nested code, break up big blocks, name things well, wait for the rule of three before extracting dup...
Clean code Laravel
Pick up small everyday cleanups: prefer form requests, break up controllers, use route model binding, model observers, view composers, never use env d...
Code Reflections
Judge a refactor after you finish it: is the code better, is it clearer? Four episodes: Is It Better?, Component Refactor Reflections, Coding on the F...
Whip Monstrous Code Into Shape
Take apart a God object and a swollen controller: form objects, use cases, pass-through methods, value objects, query objects, view models and a hands...
Simplification Tips and Tricks
Simplify the controllers and views of a Laravel app: move presentation logic out of controllers into view models, build reusable form elements as comp...
Defensive Laravel
Write code that refuses bad state early: strict typing, guard clauses, value objects (including with Eloquent), PHPStan with Laravel, domain invariant...
Rector Rules for Laravel (driftingly/rector-laravel)
Apply refactors across a whole codebase with Rector: 137 Laravel rules, rules for Cashier and Livewire, and a Laravel 13 level set. Needs PHP 8.3 or n...
Refactoring to SOLID in Laravel
Watch a Livewire mortgage calculator get refactored in steps: split the component, move the calculations into services with a unit test for each extra...
Architecture in Laravel
Chapter 22Organize a large Laravel app by feature: modular monoliths, action classes, data transfer objects and the domain-driven ideas in Laravel Beyond CRUD. Compare what each architecture costs before you adopt it.
Laravel Beyond CRUD
Structure a large Laravel app by domain: domain groups, actions, data transfer objects, view models, the state pattern and structuring complex queries...
Modular Laravel
Split an app into modules with clear boundaries: service providers, data transfer objects, extracting behavior to actions, vertical slices, grouping b...
Laravel Actions
Write a task once as a class and run it as a controller, job, listener or command, with a way to mock and test the action. Adds a package dependency....
How Should We Structure Our Laravel Apps?
See one way to lay out an app by concept: top-level folders named for high-level concepts, with Actions, Queries, Jobs and Http folders inside each. T...
Architecture of Complex Web Applications (chapter 4, Application Layer)
Decide where use cases live: the chapter compares service classes and command classes using a user registration that has to work from the web, a mobil...
Cleverness is a Loan
Price an architecture before you adopt it: service layers, repositories and data mappers, CQRS, DDD, actions, hexagonal, microservices and the modular...
Building Laravel Packages
Chapter 23Build a package other Laravel apps can install: set up the skeleton and the service provider, publish config, migrations and routes, rely on package discovery, and test it inside a real Laravel app with Testbench. Learn the patterns that keep a package flexible for the apps that use it.
Package Development
Build a package the Laravel way: creating a package, package discovery, service providers, and publishing configuration, routes, migrations, language...
spatie/laravel-package-tools
Register config files, migrations and more through a PackageServiceProvider helper instead of writing the boilerplate yourself. For a starting layout,...
Testbench (Packages Toolkit for Laravel)
Test a package inside a real Laravel app without building one: extend Orchestra\Testbench\TestCase, install with composer require --dev orchestra/test...
Laravel Package Training v2.0
Build a framework-agnostic PHP package and then a Laravel package around a PackageServiceProvider, dissect Spatie packages, test with Pest (PHPUnit is...
LaravelPackage.com
Follow a written guide through each part of a package: development environment, service providers, testing, facades, commands, configuration, models a...
Proven Package Patterns
Keep a package flexible without piling on config options: fire events so users can hook in, let them register their own models by extending yours, and...
Elevate your Testbench
Set up Testbench for a package: why to package code, the Testbench commands, using Tinker, registering service providers, database considerations and...
Going to the Source
Chapter 24Hear what the Laravel team announced at the Laracon US keynotes of 2024, 2025 and 2026, then watch selected Laracon sessions on modular monoliths and full stack architecture. Use the Laracon Archive to find any talk, read Laravel: Up & Running for the framework end to end, and follow releases on the Laravel News Podcast.
Laravel Cloud, Inertia 2.0, VS Code Extension, & OSS Updates (Taylor Otwell Keynote, Laracon US 2024)
Hear what Taylor Otwell announced in 2024: container attributes, defer, concurrency and cache flexible in the framework, the Laravel VS Code extension...
Introducing Laravel VPS & Major Updates to Forge (Laracon Keynote 2025)
Hear what the Laravel team announced in 2025: framework and Inertia updates for broadcasting, streaming and forms, Wayfinder, Laravel Boost, Nightwatc...
Everything New with Laravel and Cloud (Taylor Otwell Keynote, Laracon US 2026)
Hear what Taylor Otwell showed in 2026: conditional container bindings through attributes, debounced jobs, the php artisan dev command, an Inertia Chr...
The Laracon Archive
Find a Laracon talk: 626 recorded talks from 2013 to 2026, searchable by year, conference, title, speaker and summary, each with a link to its YouTube...
Unveiling the Modular Monolith (Laracon EU 2024)
See how to split a Laravel app into modules: monolith versus microservices, boundaries, passing data between modules with data transfer objects, event...
Full stack architecture (Laracon AU 2025)
Plan a project across the whole stack instead of layer by layer: work in vertical slices, build a shared language and a readable ERD, check in at each...
Laravel: Up & Running, 3rd Edition
Learn the framework end to end from an introductory book. The 3rd edition came out in September 2023 and covers through Laravel 11. Paid, 572 pages, b...
Laravel News Podcast
Follow Laravel news, packages and events through a podcast with a new episode every two weeks. Free. By Jacob Bennett and Michael Dyrynda.