DevPath

PHP and Laravel backend

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

9 lessons in mid · 13 practice activities

Start learning

PHP foundations

Lessons

  1. Keep controllers thin and HTTP errors clear Mid · 12 min
  2. Turn domain failures into useful responses Mid · 12 min
  3. Use small objects to protect invariants Mid · 12 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. Reason about SQL result shapes Mid · 12 min
  2. Page large results with the right index Mid · 12 min
  3. Connect a database change to a reliable side effect Mid · 12 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. Verify webhooks and test failure paths Mid · 12 min
  2. Make failures diagnosable Mid · 12 min
  3. Dispatch work after a transaction commits Mid · 12 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