Spring-boot vs Lumen
When comparing Spring-boot vs Lumen, the Slant community recommends Spring-boot for most people. In the question“What are the best web frameworks to create a web REST API?” Spring-boot is ranked 3rd while Lumen is ranked 10th. The most important reason people chose Spring-boot is:
Boot is just a thin configuration layer over Spring Framework, as such it inherits all the strengths of Spring.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Inherits all of Spring's strengths
Boot is just a thin configuration layer over Spring Framework, as such it inherits all the strengths of Spring.
Pro Preconfigured starters
Pro Fast prototyping
Spring boot is built for fast prototyping.
Pro Kick down to Spring
Pro Easily upgradable to Laravel
Since it's basically just a minimal version of Laravel, it can be upgraded to a full Laravel app if the need arises. No need for code changes, just import the code to a new Laravel install.
Pro Feature rich
Pro Highest performing PHP micro-Framework
Lumen is benchmarked at 100/rps (Requests Per Second) faster than Slim v3, which used to be considered the fastest and most performant micro-Framework to date with the ability to handle 1800/rps. (1900/rps vs 1800/rps respectively).
Pro Easy to use
Cons
Con Lacking in UI development
While actually very good and with a very complete and rich feature set to develop and maintain code on the server side, it still doesn't provide any rich framework for building good user interfaces.
Con Built for smaller tasks like APIs
Con It's based off Laravel and inherits its shortcomings
Lumen inherits many shortcomings of Laravel, such as static proxy classes.
Con Made to work alongside Laravel
Lumen as a framework is at it's full potential when used alongside it's older brother. Lumen was created to be used for microservices alongside Laravel, which is used for more user-facing applications. If a project is already using another framework other than Laravel, it would be better to use another microframework for microservices instead of Lumen.