API Platform 是下一代PHP Web框架,旨在轻松创建API优先的项目

网友投稿 727 2022-11-04

API Platform 是下一代PHP Web框架,旨在轻松创建API优先的项目

API Platform 是下一代PHP Web框架,旨在轻松创建API优先的项目

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 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, JSONAPI, 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 administration interface built with React without writing a line of code.Scaffold fully functional Progressive-Web-Apps and mobile apps built with React, 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 JSON Web Token or OAuth authentication.Create specs and tests with a developer friendly API testing tool on top of Behat.

The official project documentation is available on the API Platform website.

API Platform embraces open web standards (OpenAPI, JSON-LD, GraphQL, Hydra, HAL, JSONAPI, JWT, OAuth, HTTP...) and the Linked Data movement. Your API will automatically expose structured data in Schema.org / JSON-LD. 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 (a Vue.js flavor is 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 or React application.Reuse all your Symfony and React 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.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:TP4333TPOWER应急灯同步充放移动电源IC解决方案
下一篇:小家电单片机开发,泛海微电子SOP8小风扇集成方案
相关文章

 发表评论

暂时没有评论,来抢沙发吧~