There are some commonly used PHP frameworks that support RESTful, please recommend some. Thank you
There are some commonly used PHP frameworks that support RESTful, please recommend some. Thank you
There is no doubt that it is slim. The so-called restful is mainly for the design of URL, which requires the separation of http verbs and resource requests. That is to say, we hope that our URL does not contain semantic words such as POST GET DELETE PUT. When designing the API, we will design the interface based on the rest form. slim can be implemented very well and is worth recommending.
In addition, I am writing a slim tutorial recently. If you are interested, you can check out http://www.loadphp.cn/archive...
It is almost a standard feature of today’s mature frameworks. If you only need Restful and are familiar with Laravel, you can consider Laravel’s lightweight Lumen, which removes things like templates in Laravel
In addition, of course Laravel itself can also be used. If you want minimalism, you can consider Slim, if you want performance, you can consider Phalcon, etc.
General PHP frameworks can support restful. yii2, thinkphp, etc. are all available.
YII2/Laravel, etc.
Prioritize Slim because it is too convenient and simple, followed by THinkPHP
Slim lumen
Yii/Laravel
I feel pretty good using Laravel