Answer the question
In order to leave comments, you need to log in
Which PHP framework to choose for REST services?
I conceived a project here with a complete separation of layers, the web-server part is conceived to be implemented as a set of REST services (no generation of HTML pages, no statics, only JSON/XML methods). Accordingly, it is interesting whether there is a framework tailored specifically for such tasks. So that everything you need (including authorization), nothing superfluous and with a structure sharpened for this.
PHP as a language was chosen in order to be able to deploy to budget shared hosting.
Answer the question
In order to leave comments, you need to log in
Symfony2 + FOS/Rest + JMS/Serializer + Doctrine. For very simple things, perhaps redundant, but covers all cases. For something small I like to use Silex.
Take a separate look at HTTP Middlewares. They can be installed on any application based on HttpKernel (i.e. Symfony2, Silex, Laravel, etc.)
stackphp.com
Among the middleware, you may be interested in OAuth (for authorization) and CORS. Well, you can make your own completely reusable components.
Phalcon
docs.phalconphp.com/en/latest/reference/tutorial-r...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question