REST API (Symfony, API Platform)
A JSON API with Symfony and API Platform: Doctrine entities exposed as resources, validation, voters and query extensions for per-record access, JWT authentication, capped pagination, OpenAPI docs and PHPUnit functional tests against a real database.
What you build
- A runnable Symfony API with one resource: create, read, update and delete behind JWT authentication
- Per-record access with a voter and a query extension, validation and capped pagination
- PHPUnit functional tests, an OpenAPI description and a CI workflow
What you need
| Stack | Symfony · API Platform · Doctrine · PHPUnit · PHPStan · Postgres |
|---|---|
| Level | Intermediate |
| Platform | Server |
| Plan | Pro |
| Needs on your computer | PHP 8.2 or newer, Composer, Docker |
| Setup questions | About 5 minutes |
Start a project from one of these templates
Free plan on macOS. Pro is $10 a month or $96 a year.