Slim vs. Lumen

  • 7
  • 125
  • 2.44K
  • -
  • 105
  • 1.69K

What is Slim?

Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself.

What is Lumen?

Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Slim?
Why do you like Slim?

Why do developers choose Lumen?
Why do you like Lumen?

What are the cons of using Slim?
No Cons submitted yet for Slim
Downsides of Slim?

What are the cons of using Lumen?
No Cons submitted yet for Lumen
Downsides of Lumen?

What companies use Slim?
35 companies on StackShare use Slim
What companies use Lumen?
37 companies on StackShare use Lumen
What tools integrate with Slim?
2 tools on StackShare integrate with Slim
What tools integrate with Lumen?
2 tools on StackShare integrate with Lumen

What are some alternatives to Slim and Lumen?

  • ExpressJS - Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple
  • Flask - a microframework for Python based on Werkzeug, Jinja 2 and good intentions.
  • Django REST framework - Web APIs for Django
  • Sinatra - Classy web-development dressed in a DSL

See all alternatives to Slim

Using Named Routes in a Lumen Test
Lumen 5.5 Is Released
Related Stack Decisions
Y. Taborda
Y. Taborda
Full Stack Developer · | 1 upvotes · 1894 views
Slim
Yii
Lumen
PHP

I'm about to start a new project to build a REST API, and I got to this point: Yii2 Vs Lumen Vs Slim, I used Yii 1.1 a while a go and it was awesome, really easy to work with, as a developer you don't have to worry about almost anything, just setup the framework, get your php extensions, and start coding your app.

But, I was told about performance and someone recomended Lumen or Slim to work with a micro framework and a less bloated framework, what worries me is the lack of advantages that Yii2 offers, ACF and RBAC as a native tool on the framework, gii, the model validations and all the security props already in it.

Is it worth it? Is the performance so great on those frameworks to leave aside the advantages of a framework like Yii2?

How do you suggest to make the test to prove wich one is better?

PHP Lumen Yii Slim

See more


Interest Over Time