You may want to run a minimal version of API Platform. This one file runs API Platform (without GraphQL, Eloquent, Doctrine MongoDB…). It requires the following Composer packages:
This documentation is a work in progress we’re working on improving it, in the mean time
we declare most of the services manually in the ApiPlatformProvider it can be source of inspiration.
API Platform is installable as a set of components, for example:
composer require \
api-platform/serializer \
api-platform/metadata \
api-platform/state \
api-platform/jsonld \
phpdocumentor/reflection-docblock \
symfony/property-info \
symfony/routing \
symfony/validator
You can also help us improve the documentation of this page.
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more