Support the ongoing development of Laravel.io →
Configuration Database Laravel.io
Last updated 2 years ago.
0

See (https://www.dunebook.com/complete-guide-for-building-restful-apis-in-laravel-5-2/)

Depending on your requirements, you may also consider just using Lumen.

0

if your app is just an API then go with Lumen, it's designed to build primarily API's.

also checkout Dingo API, it comes with authentication such as JWT and Basic Auth

0

Lumen is suitable for micro services and if you have a simple, short (non-complex) and fast RESTful API, use Lumen, other ways use Laravel.

Laravel provide you a lot of features appropriated for this. In fact, I recently created a complete course about RESTful APIs with Laravel. Check it here

This course explains very complex concepts like HATEOAS, OAuth2 with Laravel passport, cache, pagination and much more.

Surely will be very useful.

0

create routes in routes/api and return in that controller. now connect to url/api/yourapicontroller from android using volley and manipulate it.

0

Use Lumen to create your REST API. Lumen is a micro-framework built on top of Laravel. The framework is ideal for small apps and services that are optimized for speed.

You can take a look at this tutorial which explains step by step to create REST API with Laravel Lumen. It's really easy you should give it a try. https://www.cloudways.com/blog/creating-rest-api-with-lumen/

0

Sign in to participate in this thread!

Eventy

Your banner here too?

kos kos Joined 8 Aug 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.