Laravel
A batteries-included PHP framework.
Laravel is taught here in 14 lessons, running from Installation and routing through to Next steps: Livewire, Inertia and package development. Each lesson takes one topic, shows the working code, and links onward to the next, so the course can be read straight through in order.
| Track | Back-end Development |
| Lessons | 14 |
| Level | Beginner to intermediate |
| Reading time | about 3 hours |
| Prerequisites | Helpful, but not required: Spring Boot |
Lessons
- Installation and routingCreate a project, learn the Artisan commands you will actually run, and define routes that stay readable.
- Controllers, Blade views and Eloquent modelsThin controllers, templates that escape by default, and models whose relations do not issue a query per row.
- Migrations and validationVersioned schema changes you can roll back, and rules that keep unvalidated input away from the database.
- Eloquent relationships, casts and query scopeshasMany, belongsTo, many-to-many and polymorphic relations, eager loading with constraints, attribute casts and local scopes that cut duplication.
- Authentication and authorizationStarter-kit scaffolding, guards and providers, Gates and Policies, email verification, password reset and where the checks belong.
- The service container, providers and facadesBinding and singletons, contextual binding, facade resolution, writing your own provider, and when to inject explicitly instead.
- Queues, jobs and scheduled tasksQueue drivers, dispatching and chaining jobs, retries and backoff, failed-job handling, Horizon and writing a safe schedule.
- Events, listeners and notificationsDomain events decoupling a workflow, model observers, queued listeners, and notifications across mail, database and broadcast channels.
- Building APIs with SanctumAPI routes, ability-scoped tokens, API resources, pagination, rate limiting and consistent error responses for a JSON API.
- File storage and uploadsFilesystem disks, S3 configuration, validating uploads properly, streaming large files, and temporary URLs for private content.
- Testing with Pest and PHPUnitFeature versus unit tests, RefreshDatabase, factories and states, HTTP assertions, fakes for mail and queues, and browser testing.
- Caching, performance and debuggingCache stores and tags, remembering values correctly, route and config caching, hunting N+1 queries, Telescope, and Octane trade-offs.
- Deployment and production hardeningEnvironment configuration, config caching done safely, Supervisor-managed queues, zero-downtime releases, health checks and log handling.
- Next steps: Livewire, Inertia and package developmentChoosing between Livewire and an Inertia SPA, Livewire component basics, Inertia page props, and packaging a reusable Laravel package.
More in Back-end Development
Node.js PHP Java HTTP Go Rust Spring Boot Ruby GraphQL
FAQ
How long does the Laravel course take?
It has 14 lessons, about 3 hours of reading. Expect roughly twice that if you type out and run every example.
Do I need prior experience for Laravel?
Not strictly. It helps to have read Spring Boot first, because some lessons build on it, but every lesson explains its own assumptions.
What should I read after Laravel?
Continue with Ruby (13 lessons), the next course in Back-end Development.