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.

TrackBack-end Development
Lessons14
LevelBeginner to intermediate
Reading timeabout 3 hours
PrerequisitesHelpful, but not required: Spring Boot

Lessons

  1. Installation and routingCreate a project, learn the Artisan commands you will actually run, and define routes that stay readable.
  2. Controllers, Blade views and Eloquent modelsThin controllers, templates that escape by default, and models whose relations do not issue a query per row.
  3. Migrations and validationVersioned schema changes you can roll back, and rules that keep unvalidated input away from the database.
  4. 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.
  5. Authentication and authorizationStarter-kit scaffolding, guards and providers, Gates and Policies, email verification, password reset and where the checks belong.
  6. The service container, providers and facadesBinding and singletons, contextual binding, facade resolution, writing your own provider, and when to inject explicitly instead.
  7. Queues, jobs and scheduled tasksQueue drivers, dispatching and chaining jobs, retries and backoff, failed-job handling, Horizon and writing a safe schedule.
  8. Events, listeners and notificationsDomain events decoupling a workflow, model observers, queued listeners, and notifications across mail, database and broadcast channels.
  9. Building APIs with SanctumAPI routes, ability-scoped tokens, API resources, pagination, rate limiting and consistent error responses for a JSON API.
  10. File storage and uploadsFilesystem disks, S3 configuration, validating uploads properly, streaming large files, and temporary URLs for private content.
  11. Testing with Pest and PHPUnitFeature versus unit tests, RefreshDatabase, factories and states, HTTP assertions, fakes for mail and queues, and browser testing.
  12. Caching, performance and debuggingCache stores and tags, remembering values correctly, route and config caching, hunting N+1 queries, Telescope, and Octane trade-offs.
  13. Deployment and production hardeningEnvironment configuration, config caching done safely, Supervisor-managed queues, zero-downtime releases, health checks and log handling.
  14. 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.