Hi,
I know that lumen is for microservices architecture and Laravel for monolithic. On Lumen documentation page this sentence is red marked 'use laravel with octane for your new projects instead of Lumen'. what does it mean? What I understand from it that 'there will be no upgradation in Lumen'. Anyone help is highly appreciated. thanks
There are no guarantees that lumen will be updated a whole lot in the future. Maybe it will, maybe it wont.
But the main point is that laravel now is so fast that it can keep up with lumen, and it has a ton more features. And if you use Octane with laravel, you can surpass lumen even. So like the note said, use laravel instead of lumen for new projects.
@shabirullah Lumen is a micro-framework. It’s not going to get any large feature upgrades in the future because it’s essentially feature complete.
People used to use Lumen because of it’s speed benefit over Laravel, but that gap closed with each new version of PHP 7 and 8 to the point that it was negligible. Now Lumen is just a less feature-complete version of Laravel with no real benefit over Laravel. If you need speed, then as the docs say, use Laravel with Octane. But Lumen is missing numerous features that make it useful for building even API-only projects. For example, Lumen doesn’t have form requests, Eloquent API resources, resource routes, compatible versions of Passport and Sanctum for authentication, and so on.