x7ryan's avatar
Level 12

Lumen Series

I realize being based on Laravel there's alot of similarities but I think a series on how Lumen differs from Laravel could be helpful, maybe even an example app or two. I got a simple api only project that I think would be a great fit for Lumen but it just does not have the depth or resources Laravel has to get started and I was surprised to find 0 results when searching for a series on Lumen.

0 likes
9 replies
x7ryan's avatar
Level 12

I disagree. With all Laravel has now Lumen makes more sense than ever to not carry around all that if its not needed. I say the more they diverge the more it becomes its own distinct thing that can actually make sense for the projects where the extra feature set of Laravel isn't needed.

x7ryan's avatar
Level 12

Interesting that didn't even come up when I searched Lumen it said there were no results. I guess maybe because its a single lesson instead of a full series. Still would love to see something updated though.

x7ryan's avatar
Level 12

I generally don't buy statements of "Always" or "Never" do something/use something. Each has its own use-case. If your use cases are always better for Laravel that's fine but that doesn't mean there aren't others who have simpler use cases where it makes more sense to go lighter weight and use Lumen instead.

x7ryan's avatar
Level 12

<sarcasm>OH yes how dare I have an opinion that differs from the great Taylor Otwell....</sarcasm>

He's not wrong that the performance story of PHP today is much different but I would say he's wrong that the only benefit was speed/performance. There are many other benefits to using a microframework. Such as enhanced security from a smaller attack surface, or easier maintainability.

I prefer not to carry around a 20lb toolbox just to change a light bulb. You're welcome to if you want, but to claim someone else who dosn't is somehow wrong is kinda silly.

However given Taylor's position Lumen will probably be left to die off. So I guess I should look for another option for a microframework.

Please or to participate in this conversation.