High Quality APIs with API Platform
summary
API Platform integrates with Symfony (including full or minimal installs via Symfony Flex), automatically provides a React admin UI, and supports standards like JSON-LD, Hydra and OpenAPI. It explains how to expose resources using concrete DataProvider and DataPersister implementations (example: serving catalogs from an array), notes that the full release registers 37 packages, and demonstrates both synchronous (HTTP 201) and asynchronous creation via Symfony Messenger (HTTP 202).
AI-written summary · about
chapters (15)
- 0:00API Platform intro
- 1:06Modern business APIs
- 3:15Symfony integration
- 7:32Installing API Platform
- 10:01Resource representations
- 13:33Resource operations
- 16:47Data provider & persister
- 22:49Updating data with CRUD
- 27:38API Platform config
- 32:40Symfony serialization
- 37:10Serialization groups
- 41:28Nested resource relations
- 44:19Extending API Platform
- 48:54Event handling
- 51:03API Platform benefits
related talks
39mBuilding RESTful APIs with Symfony Components
39mSuitable serialization with API Platform and Symfony
57mBuilding first-class REST APIs with Symfony
41mBuilding first-class REST APIs with Symfony
39mAPI Platform — A Daily Tool for (Un)usual Tasks
34mWhy PHP and Symfony are still in the game
59mA CQRS Approach with Api Platform and Symfony Messenger
21mValidate Your Data with API Platform
