I
I
Ivan Vorobei2016-04-09 09:58:20
API
Ivan Vorobei, 2016-04-09 09:58:20

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

2 answer(s)
I
Ivan Vorobei, 2016-04-10
@ivanvorobei

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.

E
Eugene, 2016-04-09
@Nc_Soft

lumen.laravel.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question