DevPath

PHP and Laravel backend

Foundations to practical Laravel work: HTTP, persistence, transactions, queues and testing.

18 lessons in all levels · 13 practice activities

Start learning

PHP foundations

Lessons

  1. Values, types and array keys Foundation · 13 min
  2. Validate a request at its boundary Foundation · 12 min
  3. Keep controllers thin and HTTP errors clear Mid · 12 min
  4. Turn domain failures into useful responses Mid · 12 min
  5. Use small objects to protect invariants Mid · 12 min
  6. Evolve an API without breaking clients Senior · 16 min

Practice

ActivityTypeLevel
Create a URL-safe slug fluency Foundation Preview
De-duplicate values preserving order fluency Foundation Preview
Extract business logic from a fat controller practical lab Mid Preview
Stop leaking a 500 for a domain conflict debugging Mid Preview
Validate a booking request at the boundary practical lab Foundation Preview

Persistence and data

Lessons

  1. Make related writes atomic Foundation · 14 min
  2. Authorize records and avoid N+1 queries Foundation · 12 min
  3. Reason about SQL result shapes Mid · 12 min
  4. Page large results with the right index Mid · 12 min
  5. Connect a database change to a reliable side effect Mid · 12 min
  6. Change a live schema safely Senior · 16 min

Practice

ActivityTypeLevel
Diagnose and remove an N+1 query debugging Mid Preview
Find customers with no orders fluency Foundation Preview
Fix an ownership check that lets one user read another user's record debugging Mid Preview
Make a transfer atomic and consistent practical lab Mid Preview

Reliability and delivery

Lessons

  1. Design a job that can safely retry Foundation · 13 min
  2. Prevent double booking under concurrency Foundation · 12 min
  3. Verify webhooks and test failure paths Mid · 12 min
  4. Make failures diagnosable Mid · 12 min
  5. Dispatch work after a transaction commits Mid · 12 min
  6. Rehearse failure and recovery Senior · 16 min

Practice

ActivityTypeLevel
Deduplicate a payment webhook practical lab Mid Preview
Make a queued checkout safe to retry practical lab Mid Preview
Prevent a double booking under concurrency practical lab Mid Preview
Write a feature test for a permissions bug tests Mid Preview