3 ms·
If Lumen can use all Laravel its components, can't Laravel use Lumen its routing engine or whatever makes it that fast? What's the key difference that Lumen is
by pearjuice 12y ago
If Lumen can use all Laravel its components, can't Laravel use Lumen its routing engine or whatever makes it that fast? What's the key difference that Lumen is considered "fast and micro" over a standard Laravel installation?
- McGlockenshire 12y agoThe routing engine is NikiC's excellent FastRoute: https://github.com/nikic/FastRoute https://github.com/nikic/FastRoute My understanding is that the majority of the advertised speed increase has to do with lazy initialization of the request/response stuff and the need to expressly ask for things like session support. e: Here's an explanation from reddit, http://www.reddit.com/r/PHP/comments/32kajb/lumen_php_microframework_by_laravel/cqbzp32 http://www.reddit.com/r/PHP/comments/32kajb/lumen_php_microf...
- noir_lord 12y agoPretty much. Laravel's strength is that it is batteries included but for some stuff this can be a weakness, API's where that 30-40ms load time matters for example. I've spent a couple of years working with and on laravel projects and mostly I like it a great deal but it is a sledgehammer when sometimes you need a ballpein.