Have any of phalapi and lumen ever used them? Are there any advantages or disadvantages? load-Carrying capacity ...
Reply content:
Have any of phalapi and lumen ever used them? Are there any advantages or disadvantages? load-Carrying capacity ...
You are using lumen. Inherits the core and advantage of Laravel.
It's easy to write. It is performance or a bit slow, write pure API can actually remove a lot of components, such as template engine or something
It is recommended to change the performance of the kernel in the later stage according to business requirements.
Slim this frame you Baidu a bit.
Make a simple API that requires performance and is basically data-oriented.
So, pick a better activerecord or ORM. In the router with a fast speed point. This is the thing!
Recommended to see my own open source two libraries:
Https://github.com/lloydzhou/activerecord
Https://github.com/lloydzhou/router
If you are not so trusting on this library recommend GitHub above star multipoint:
Https://github.com/j4mie/idiorm
Https://github.com/badphp/dispatch