Description
API Platform is a next-generation web framework designed to easily create API-first projects without compromising extensibility and flexibility:
- Design your own data model as plain old PHP classes or import an existing one from the Schema.org vocabulary
- Expose in minutes a hypermedia REST API with pagination, data validation, access control, relation embedding, filters and error handling...
- Benefit from Content Negotation: JSON-LD, Hydra, HAL, YAML, JSON, XML and CSV are supported out of the box
- Enjoy the beautiful automatically generated API documentation (Swagger/OpenAPI)
- Add a convenient Material Design adminitration interface built with React without writing a line of code
- Scaffold a fully functional Single-Page-Application built with React, Redux, React Router and Bootstrap thanks to the CRUD generator
- Install a development environment and deploy your project in production using Docker
- Easily add JSON Web Token or OAuth authentication
- Create specs and tests with a developer friendly API testing tool on top of Behat
API Platform alternatives and similar libraries
Based on the "API" category.
Alternatively, view API Platform alternatives based on common mentions on social networks and blogs.
-
Restler
Simple and effective multi-format Web API Server to host your PHP API as Pragmatic REST and/or RESTful API -
OverblogGraphQLBundle
This bundle provides tools to build a complete GraphQL API server in your Symfony App. -
Pinterest Bot for PHP
This PHP library will help you to work with your Pinterest account without using any API account credentials. -
Slack for PHP
A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax. -
Drest
Quickly and easily expose Doctrine entities as REST resource endpoints with the use of simple configuration with annotations, yaml, json or a PHP array. -
chubbyphp-framework
A minimal, highly performant middleware PSR-15 microframework built with as little complexity as possible, aimed primarily at those developers who want to understand all the vendors they use. -
cidaas SDK for php
With this SDK, you can integrate cidaas smoothly and with minimal effort into your PHP application. It enables you to map the most important user flows for OAuth2 and OIDC compliant authentication. Secure – Fast – And unrivaled Swabian. -
yii2-fractal
A set of utils and actions for build API following JSON:Api specification, based on league/fractal -
icanhazstring/expressive-hashids-middleware
PSR-15/PSR-7 compliant middleware using ivanakimov/hashids.php
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of API Platform or a related project?
README
API Platform is a next-generation web framework designed to easily create API-first projects without compromising extensibility and flexibility:
- Design your own data model as plain old PHP classes or import an existing ontology.
- Expose in minutes a hypermedia REST or a GraphQL API with pagination, data validation, access control, relation embedding, filters and error handling...
- Benefit from Content Negotiation: GraphQL, JSON-LD, Hydra, HAL, JSON:API, YAML, JSON, XML and CSV are supported out of the box.
- Enjoy the beautiful automatically generated API documentation (OpenAPI).
- Add a convenient Material Design administration interface built with React without writing a line of code.
- Scaffold fully functional Progressive-Web-Apps and mobile apps built with Next.js (React), Nuxt.js (Vue.js) or React Native thanks to the client generator (a Vue.js generator is also available).
- Install a development environment and deploy your project in production using Docker and Kubernetes.
- Easily add OAuth authentication.
- Create specs and tests with a developer friendly API testing tool.
The official project documentation is available on the API Platform website.
API Platform embraces open web standards and the Linked Data movement. Your API will automatically expose structured data. It means that your API Platform application is usable out of the box with technologies of the semantic web.
It also means that your SEO will be improved because Google leverages these formats.
Last but not least, the server component of API Platform is built on top of the Symfony framework, while client components leverage React (Vue.js flavors are also available). It means that you can:
- Use thousands of Symfony bundles and React components with API Platform.
- Integrate API Platform in any existing Symfony, React or Vue application.
- Reuse all your Symfony and JavaScript skills, benefit of the incredible amount of documentation available.
- Enjoy the popular Doctrine ORM (used by default, but fully optional: you can use the data provider you want, including but not limited to MongoDB and Elasticsearch)
Install
Read the official "Getting Started" guide.
Credits
Created by Kévin Dunglas. Commercial support available at Les-Tilleuls.coop.