Laravel is the most-used PHP framework on the planet, and once you internalize its conventions (service container, Eloquent ORM, Blade templates, middleware) it lets you build complete production web apps faster than almost anything else. This tutorial covers the practical Laravel - the parts you will actually use shipping real applications.
We start with installation and the request lifecycle, then move through routing and Blade templates, Eloquent ORM with migrations and relationships, the full authentication ecosystem (Breeze, Jetstream, Sanctum, Passport, policies), validation, storage, mail, and APIs (REST + GraphQL). Performance and tooling come next (Octane, Horizon, Debugbar, Pennant), then admin scaffolds (Voyager, Nova) and finally deployment (Docker, Sail, Forge). Every example is a complete, runnable snippet.
Click Start the course to begin with installation, or jump to the chapter you need - Eloquent ORM and Authentication and Authorization are the most-bookmarked.
How to use this course
Each lesson targets one Laravel feature with a runnable example you can drop into a fresh project created with Composer. Start with installation and routing if PHP frameworks are new. Move to Eloquent once you can serve a Blade view and pass data from a controller. Authentication chapters compare Breeze, Jetstream, Sanctum, and Passport so you can pick the stack that matches your API or SPA requirements.
Keep php artisan serve running in a terminal while you work through HTTP-focused chapters. Database chapters assume MySQL or MariaDB locally; use Laravel Sail or Docker when you prefer containers over a host-installed database.
Prerequisites
| Tool | Version guidance |
|---|---|
| PHP | 8.2+ with common extensions (mbstring, openssl, pdo, tokenizer, xml, ctype, json, bcmath) |
| Composer | Latest 2.x for project scaffolding |
| Node.js + npm | Required for Vite, Breeze, and Jetstream front ends |
| Database | MySQL 8 or MariaDB 10.6+ for migration examples |
If you need a PHP refresher, start with Install Laravel and the Composer workflow in that chapter. For production deployment after local development, follow the Deployment chapter order: Docker, Sail, then Forge.
Chapter themes
| Theme | Skills you will practice |
|---|---|
| Request lifecycle | Routes, middleware, controllers, Blade |
| Data layer | Migrations, factories, Eloquent relationships |
| Auth and APIs | Guards, policies, Sanctum tokens, GraphQL |
| Developer experience | Queues, Horizon, Octane, debugging tools |
| Shipping | Asset builds, environment files, Forge deploy hooks |
Laravel pairs naturally with Node.js for front-end tooling and with Ansible when you automate PHP-FPM and Nginx on Linux servers.

