A comparison between Lumen & Laravel
Lumen is a micro framework and it is a light version of Laravel itself, it keeps only what is essential like routing, error handling, logging, caching, validation etc. Laravel is a fullstack framework . It has all features needed for the development of a project, for example HTTP sessions, cookies, templating etc.
- Lumen doesnot have config:cache and route:cache.
- Laravel has config:cache and route:cache.
- Lumen has its the features like facades and eloquent ,dotenvironment files disables as default.
- Laravel has features such as facades and eloquent which improves development time enabled.
- Lumen is stateless but doesnot have web routes with sessions and api routes.
- Laravel has web routes with sessions and api stateless routes.
- Biggest difference is that Lumen uses FastRoute which is faster router than Laravel's router.
Comments
0 comments
Please Sign in or Create an account to Post Comments