luisgarciaalanis's avatar

When to use lumen and when to use laravel?

I am currently using lumen on a project and noticed a lot of features are either disabled or missing. So I started enabling or porting the code to make the features work.

For example:

  • Sessions/Auth is stripped down
  • Custom Requests are not present
  • Eloquent is disabled
  • Blade is disabled, and some features like forms missing.

So if I start enabling all these featues then I suppose some of the speed advantages of lumen dissapear.

Where is the line were is better to use laravel instead of lumen?

Thanks Luis

0 likes
4 replies
IsaacBen's avatar

It's great for building an API for a mobile or Angular app.

softmixt's avatar

I use Lumen only for API projects if your frontend is Angular, React or VueJs lumen is what you need otherwise you might take in consideration to switch to Laravel.

naveedali's avatar

Hi,

I want to develop following apps:

  1. A Web App (its frond-end would be react/vue based) - using Laravel
  2. A Mobile App (on react native) - using Lumen

If I use Laravel, both the web app and mobile app can be managed but for performance reason I want to make use of lumen for mobiles but doing so will duplicate the code. Can you please suggest what is the best option?

Please or to participate in this conversation.