Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

api-platform

> 前端框架
Open source

️ Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

9.2K stars0 likes0 views
WebsiteGitHub

About

️ Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

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**](https://api-platform.com/docs/schema-generator). * **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](https://api-platform.com/docs/core/graphql/), [JSON-LD](https://json-ld.org), [Hydra](https://hydra-cg.com), [HAL](https://github.com/mikekelly/hal_specification/blob/master/hal_specification.md), [JSON:API](https://jsonapi.org/), [YAML](https://yaml.org/), [JSON](https://www.json.org/), [XML](https://www.w3.org/XML/) and [CSV](https://www.ietf.org/rfc/rfc4180.txt) are supported out of the box. * Enjoy the **beautiful automatically generated API documentation** ([OpenAPI](https://api-platform.com/docs/core/openapi/)). * Add [**a convenient Material Design administration interface**](https://api-platform.com/docs/admin) built with [React](https://reactjs.org/) without writing a line of code. * **Scaffold fully functional Progressive-Web-Apps and mobile apps** built with [Next.js](https://api-platform.com/docs/client-generator/nextjs/) (React), [Nuxt.js](https://api-platform.com/docs/client-generator/nuxtjs/) (Vue.js) or [React Native](https://api-platform.com/docs/client-generator/react-native/) thanks to [the client generator](https://api-platform.com/docs/client-generator/) (a Vue.js generator is also available). * Install a development environment and deploy your project in production using **[Docker](https://api-platform.com/docs/distribution)** and [Kubernetes](https://api-platform.com/docs/deployment/kubernetes). * Easily add **[OAuth](https://oauth.net/) authentication**. * Create specs and tests with **[a developer friendly API testing tool](https://api-platform.com/docs/distribution/testing/)**. The official project documentation is available **[on the API Platform website](https://api-platform.com)**. API Platform embraces open web standards and the [Linked Data](https://www.w3.org/standards/semanticweb/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](https://developers.google.com/search/docs/guides/intro-structured-data)**. Last but not least, the server component of API Platform is built on top of the [Symfony](https://symfony.com) framework, while client components leverage [React](https://reactjs.org/) ([Vue.js](https://vuejs.org/) 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**, and benefit from the incredible amount of documentation available. * Enjoy the popular [Doctrine ORM](https://www.doctrine-project.org/projects/orm.html) (used by default, but fully optional: you can use the data provider you want, including but not limited to MongoDB and Elasticsearch) ## Install This repository hosts the `api-platform` installer used to scaffold new projects. To install it: ### Static binary (recommended) Download the latest release for your platform from the [Releases page](https://github.com/api-platform/api-platform/releases) and move the binary somewhere on your `$PATH`: ```sh curl -L https://github.com/api-platform/api-platform/releases/latest/download/api-platform-linux-x86_64 -o /usr/local/bin/api-platform chmod +x /usr/local/bin/api-platform ``` ### Composer If you already have PHP and Composer installed: ```sh composer global require api-platform/installer ``` The `api-platform` binary will be available in `~/.composer/vendor/bin`. ## Usage ```sh api-platform # interactive wizard api-platform my-app --framework=symfony --with-docker --with-pwa api-platform my-app --framework=laravel ``` For full project documentation, [read the official "Getting Started" guide](https://api-platform.com/docs/distribution/). ## Credits Created by [Kévin Dunglas](https://dunglas.fr). Commercial support is available at [Les-Tilleuls.coop](https://les-tilleuls.coop).

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •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,
  • •Benefit from Content Negotiation: GraphQL, JSON-LD, Hydra,
  • •Enjoy the beautiful automatically generated API documentation (OpenAPI).
  • •Add a convenient Material Design administration interface built with React
  • •Scaffold fully functional Progressive-Web-Apps and mobile apps built with Next.js (React),
  • •Install a development environment and deploy your project in production using Docker
  • •Easily add OAuth authentication.
  • •Create specs and tests with a developer friendly API testing tool.
  • •Use thousands of Symfony bundles and React components with API Platform.

> Tags

PHPapiapi-platformframeworkfrankenphp

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架