PHP and Laravel backend
Foundations to practical Laravel work: HTTP, persistence, transactions, queues and testing.
18 lessons in all levels · 13 practice activities
PHP foundations
Lessons
- Values, types and array keys Foundation · 13 min
- Validate a request at its boundary Foundation · 12 min
- Keep controllers thin and HTTP errors clear Mid · 12 min
- Turn domain failures into useful responses Mid · 12 min
- Use small objects to protect invariants Mid · 12 min
- Evolve an API without breaking clients Senior · 16 min
Practice
| Activity | Type | Level | |
|---|---|---|---|
| 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
- Make related writes atomic Foundation · 14 min
- Authorize records and avoid N+1 queries Foundation · 12 min
- Reason about SQL result shapes Mid · 12 min
- Page large results with the right index Mid · 12 min
- Connect a database change to a reliable side effect Mid · 12 min
- Change a live schema safely Senior · 16 min
Practice
Reliability and delivery
Lessons
- Design a job that can safely retry Foundation · 13 min
- Prevent double booking under concurrency Foundation · 12 min
- Verify webhooks and test failure paths Mid · 12 min
- Make failures diagnosable Mid · 12 min
- Dispatch work after a transaction commits Mid · 12 min
- Rehearse failure and recovery Senior · 16 min