api-platform-4-2
Installation
SKILL.md
API Platform 4.2
GitHub: https://github.com/api-platform/api-platform Docs: https://api-platform.com/docs/symfony/
Overview
API Platform is a powerful framework for building REST and GraphQL APIs with Symfony. Version 4.2 introduces the new metadata system with PHP attributes, state providers/processors architecture, and improved DTO support.
Quick Reference
Basic API Resource
use ApiPlatform\Metadata\ApiResource;
use Doctrine\ORM\Mapping as ORM;