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

StackSymfony · API Platform · Doctrine · PHPUnit · PHPStan · Postgres
LevelIntermediate
PlatformServer
PlanPro
Needs on your computerPHP 8.2 or newer, Composer, Docker
Setup questionsAbout 5 minutes

Start a project from one of these templates

Free plan on macOS. Pro is $10 a month or $96 a year.