Lumen
Lumen

194
159
84
Slim
Slim

186
146
120
Add tool

Lumen vs Slim: What are the differences?

Developers describe Lumen as "The stunningly fast PHP micro-framework by Laravel". 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. On the other hand, Slim is detailed as "A PHP micro framework". 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.

Lumen and Slim can be primarily classified as "Microframeworks (Backend)" tools.

"API" is the primary reason why developers consider Lumen over the competitors, whereas "Microframework" was stated as the key factor in picking Slim.

Lumen and Slim are both open source tools. It seems that Slim with 9.92K GitHub stars and 1.84K forks on GitHub has more adoption than Lumen with 6.29K GitHub stars and 833 GitHub forks.

Next, Index.co, and Uptime Robot are some of the popular companies that use Lumen, whereas Slim is used by Coderus, WebbyLab, and Die Coder GmbH. Lumen has a broader approval, being mentioned in 24 company stacks & 24 developers stacks; compared to Slim, which is listed in 26 company stacks and 19 developer stacks.

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.

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.

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

Why do developers choose Lumen?
Why do developers choose Slim?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using Lumen?
What are the cons of using Slim?
    Be the first to leave a con
      Be the first to leave a con
      What companies use Lumen?
      What companies use Slim?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Lumen?
      What tools integrate with Slim?
      What are some alternatives to Lumen and Slim?
      Laravel
      It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
      ExpressJS
      Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
      Flask
      Flask is intended for getting started very quickly and was developed with best intentions in mind.
      Django REST framework
      Django REST framework is a powerful and flexible toolkit that makes it easy to build Web APIs.
      Sinatra
      Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.
      See all alternatives
      Decisions about Lumen and Slim
      Y. Taborda
      Y. Taborda
      Full Stack Developer · | 1 upvotes · 9K 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
      Reviews of Lumen and Slim
      No reviews found
      How developers use Lumen and Slim
      Avatar of jvihrial
      jvihrial uses LumenLumen

      First our BE was pure PHP, then it evolved to Laravel and now we are on Lumen. Superb.

      Avatar of Tristan Bailey
      Tristan Bailey uses SlimSlim

      Knocking up apis and smaller than laravel work projects

      Avatar of Gums Up
      Gums Up uses LumenLumen

      We have a service for resizing and serving images.

      Avatar of InApplet
      InApplet uses SlimSlim

      Framework usado no código da aplicação principal

      Avatar of Takkaa
      Takkaa uses SlimSlim

      we create our API with this microframework

      Avatar of Björn Pfoster
      Björn Pfoster uses SlimSlim

      A fast, slim and scalable PHP Framework

      Avatar of thanawatsenawat
      thanawatsenawat uses LumenLumen

      For leaning to Create REST API

      Avatar of Andrei Kun
      Andrei Kun uses LumenLumen

      JSON API Framework

      How much does Lumen cost?
      How much does Slim cost?
      Pricing unavailable
      Pricing unavailable
      News about Slim
      More news