Building world-class APIs with API Platform for Laravel
summary
Claim: a single PHP attribute on an Eloquent model or POPO generates a full, documented REST and optional GraphQL API with automatic pagination, validation, filters and serialization. The system emits automatic OpenAPI and Hydra docs and defaults to JSON‑LD output (optional), scaffolds a React admin UI from the API, and integrates with Eloquent, Sanctum/Passport, Octane/RoadRunner, Pest assertions and common Laravel features. Live demos show endpoints working, data persisting, and docs and clients staying in sync.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 4:26Why build APIs
- 7:15API Platform with Laravel
- 12:16First API with API Platform
- 16:18Key features and docs
- 20:56Advanced customization and GraphQL
- 26:19Performance and tools
- 27:45Q&A on versioning
related talks
40mCrafting Elegant APIs with Laravel
54mDocumenting Laravel APIs
30mDocumenting Laravel APIs
40mEngineering Complex Applications with Laravel 4
44mBuilding a complex product while scaling a team and a business on Laravel
22mPlaymoove: Shared Mobility Within Everyone's Reach
49mLaravel - If, how and why you should use it!
18mRESTful API: What's New in Laravel 5.5
