Laravel Tutorial & Reference
Routing, Blade, validation, Eloquent, auth, queues, and production Laravel patterns.
Laravel 12/13 Learning Path
Follow the Laravel Curriculum
Read the guides in order from fundamentals to production patterns, or jump to your current skill level.
Showing closest & fuzzy matches for your search.
Laravel Routes: URLs, Names, Parameters, and Groups
How do I declare web and API routes in Laravel?
Laravel Route Model Binding
How does Laravel turn a URL id into an Eloquent model?
Laravel Controllers and Single Action Controllers
How do I move route logic into a controller?
Blade Layouts, Loops, CSRF, and Components
How do I render a layout and a safe form in Blade?
Form Request Validation in Laravel
How do I validate a form and keep the controller thin?
Eloquent CRUD: Create, Read, Update, and Delete
How do I create, find, update, and delete a Lesson with Eloquent?
Eloquent Relationships: hasMany and belongsTo
How do I relate lessons, enrollments, and users?
Laravel Eloquent Eager Loading (with) to Prevent N+1 Queries
How do I prevent N+1 database queries in Laravel Eloquent?
Laravel Migrations and the Schema Builder
How do I version a lessons table with a Laravel migration?
Laravel Seeders and Model Factories
How do I generate realistic lesson rows for local development?
Auth Middleware and Guest Routes in Laravel
How do I restrict a route to signed-in users?
Laravel Gates and Policies
How do I authorize an update so users only edit their own lesson?
Laravel File Storage on the Public Disk
How do I validate an upload and store it on the public disk?
Laravel Pagination with the Query String
How do I paginate lessons and keep the search query?
Laravel API Resources
How do I shape JSON for a lesson and its enrollments?
Query Scopes and Attribute::make
How do I reuse a published() scope and format a title?
Laravel Queues and Jobs
How do I queue a slow enrollment email?
Laravel Task Scheduling
How do I run a command every morning?
Laravel Rate Limiting
How do I throttle a login or search endpoint?
The Laravel HTTP Client
How do I call another JSON API from a Laravel action?
Laravel Cache for a Catalog Count
How do I cache an expensive count without serving it forever?
Laravel Soft Deletes
How do I hide a lesson without removing the row?
Laravel Logging
How do I record a catalog failure without showing it to the student?
Laravel Events and Listeners
How do I run follow-up work when a lesson is published without stuffing it in the controller?
Laravel Attribute Casts
How do I get a Carbon date and a boolean from a lesson row?
Laravel Mail
How do I send a short enrollment note without building the message in the controller?
Laravel Signed URLs
How do I share a temporary lesson link that fails if someone edits the query?
Laravel Collections
How do I group lessons by track after they are loaded?
A Custom Laravel Validation Rule
How do I reject a lesson slug that is not lowercase hyphenated words?
A Custom Laravel Middleware Alias
How do I require an instructor role on a group of routes?
Laravel config and env
Where should a seat limit live so it is not hardcoded in a controller?
Laravel Session Flash Data
How do I show a one-time saved message after a redirect?
Laravel Notifications
How do I notify a user on the database channel and by mail from one class?
No guides matched that search.
Try a shorter keyword, a synonym (like js or db), or remove a filter.