高性能 php api 开发,PHP 做 api 开发选择哪一个框架比较是适合

16

2018-06-11 21:58:46 +08:00

https://api-platform.com/

API Platform uses these model classes to expose a web API having a bunch of built-in features:

* creating, retrieving, updating and deleting (CRUD) resources

* data validation

* pagination

* filtering

* sorting

* hypermedia/HATEOAS and content negotiation support (JSON-LD, HAL, JSON API)

* GraphQL support

* Nice UI and machine-readable documentations (Swagger/OpenAPI, Hydra)

* authentication (Basic HTTP, cookies as well as JWT and OAuth through extensions)

* CORS headers

* security checks and headers (tested against OWASP recommendations)

* invalidation-based HTTP caching

* and basically everything needed to build modern APIs.

One more thing, before we start: as the API Platform distribution includes the Symfony framework, it is compatible with most Symfony bundles (plugins) and benefits from the numerous extensions points provided by this rock-solid foundation (events, DIC...). Adding features like custom, service-oriented, API endpoints, JWT or OAuth authentication, HTTP caching, mail sending or asynchronous jobs to your APIs is straightforward.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值