Answer the question
In order to leave comments, you need to log in
REST FUL API on Laravel vs Microframework?
I decided to make a REST API for the project, I allocated a separate subdomain api.example.com .
API to do as a new Laravel project, using the routes and database management that comes in the box (and ignore everything that is there to create a site)? Or do you need to tweak something? Maybe there is a "REST API" mode))
Do you need all those modules that are in Laravel? Or is it better for the API to switch to a microframework?
Is the module suitable out of the box to check the request is the user authorized or will I have to write an implementation?
Answer the question
In order to leave comments, you need to log in
To summarize for those looking for an answer:
Laravel, Lumen, Slim, Silex, etc. - frameworks for website development. Side by side, you can implement API on them.
If you need naked routing - Slim
If you need buns - Lumen
Laravel for API is unambiguously redundant.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question