Developing APIs with Symfony in 2023
summary
Symphony updates in 2023 focus on concrete developer ergonomics: native PHP 8 attributes for routing, autowiring and service aliases, MapRequestPayload -> DTO via Serializer + Validator producing 422 on invalid JSON, a Route name alias using FQCN, new DI features like AutowireCallable and AsAlias, HttpClient UriTemplate resolver and multi‑base URI retries, Request::getPayload, and UUID v7 support planned as default in Symfony 7. Many features land in 6.3/6.4 or are in PRs; 360 contributors touched the repo last month.
AI-written summary · about
chapters (17)
- 0:00Introduction to Symfony updates
- 2:12New attributes in Symfony
- 9:15Symfony 6 and 7 versions
- 15:29Minor improvements and features
- 16:34New components and tools
- 17:36Controller enhancements
- 18:19Request body mapping
- 20:06HttpClient and API features
- 21:22Security and validation
- 22:06Dependency injection innovations
- 24:49Service aliases and locators
- 26:43AutowireCallable attribute
- 28:37Serializer component updates
- 31:27UUID version 7 support
- 33:44Request object enhancements
- 34:30Runtime mode configuration
- 35:58Community and contributors
related talks
57mBuilding first-class REST APIs with Symfony
41mBuilding Restful APIs with Symfony Components
02h 27mSymfony 4 best practices (Part 1)
50mBuild RESTful APIs easily with Symfony
39mSuitable serialization with API Platform and Symfony
02h 37mSymfony 4 best practices (Part 2)
34mAPI Platform: From Rest & GraphQL APIs to state-of-the-art standards in seconds
01h 02mRewriting 12-Year-Old Code
