从团队维护和框架性能两方面作为主要因素去看,选择哪一块 PHP 框架比较适合? 目前准备在 phalcon 和 tp5 中选择一个。大家可以给点建议吗
1
ibugeek 2018 年 6 月 11 日
只做 api 的话,我觉得 lumen 还是不错的。
|
2
Mariano 2018 年 6 月 11 日
lumen
|
3
iamsee 2018 年 6 月 11 日
yaf
|
4
GG668v26Fd55CP5W 2018 年 6 月 11 日 via iPhone
slim
|
5
hahasong 2018 年 6 月 11 日
yaf
|
6
qqjt 2018 年 6 月 11 日
laravel,使用 lumen 到头来还是会转成 laravel
|
7
loginv2 2018 年 6 月 11 日
easyswoole
|
8
5748hao 2018 年 6 月 11 日
lumen
|
9
gouchaoer2 2018 年 6 月 11 日 via Android api 说到底如果 io 很重(比如你 api 里面有 rpc 之类的)的话 fpm 本身就不适合,并发比较大的话考虑一下 swoft,另外别用 laravel 性能太差了
|
10
visonme 2018 年 6 月 11 日
slim, 不过自己在这个基础上做了扩展,可以考虑下~
|
11
tanszhe 2018 年 6 月 11 日
|
12
kzzhr 2018 年 6 月 11 日 via Android
lumen on swoole
|
13
a7a2 2018 年 6 月 11 日
Phalcon
放弃 php 吧 真不适合做高负载 api 开发 |
14
ddiu8081 2018 年 6 月 11 日
在用 lumen
|
15
HanSonJ 2018 年 6 月 11 日
lumen
|
16
TonyG 2018 年 6 月 11 日
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. |
17
wellCh4n 2018 年 6 月 11 日
TP5 官方的广告上说:ThinkPHP V5.0 是一个为 API 开发而设计的高性能框架。
|
18
SoulGem 2018 年 6 月 11 日 via iPhone
slim3
|
19
puritania 2018 年 6 月 11 日 via iPhone
yaf
|
20
nicevar 2018 年 6 月 11 日
最近给 app 做了后端用的 CI,感觉还行
|
22
askfilm 2018 年 6 月 12 日
symfony + api-platform
|
23
askfilm 2018 年 6 月 12 日
或 symfony + fosrestbundle
|
24
jingrui 2018 年 6 月 12 日 via iPhone
国内吗? tp5/tp3 是个 php 都会用
|