Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Lumen
Lumen

218
182
+ 1
85
Sinatra
Sinatra

406
307
+ 1
209
Add tool

Lumen vs Sinatra: What are the differences?

What is Lumen? 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.

What is Sinatra? Classy web-development dressed in a DSL. Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.

Lumen and Sinatra can be categorized as "Microframeworks (Backend)" tools.

"API" is the top reason why over 16 developers like Lumen, while over 63 developers mention "Lightweight" as the leading cause for choosing Sinatra.

Lumen and Sinatra are both open source tools. It seems that Sinatra with 10.6K GitHub stars and 1.89K forks on GitHub has more adoption than Lumen with 6.29K GitHub stars and 833 GitHub forks.

According to the StackShare community, Sinatra has a broader approval, being mentioned in 92 company stacks & 33 developers stacks; compared to Lumen, which is listed in 24 company stacks and 24 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 Sinatra?

Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Lumen?
Why do developers choose Sinatra?

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

    Be the first to leave a con
      Be the first to leave a con
      What companies use Lumen?
      What companies use Sinatra?

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

      What tools integrate with Lumen?
      What tools integrate with Sinatra?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Lumen and Sinatra?
      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
      It is a powerful and flexible toolkit that makes it easy to build Web APIs.
      hapi
      hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web applications and services.
      See all alternatives
      Decisions about Lumen and Sinatra
      Y. Taborda
      Y. Taborda
      Full Stack Developer · | 1 upvotes · 27K views
      Slim
      Slim
      Yii
      Yii
      Lumen
      Lumen
      PHP
      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 Sinatra
      No reviews found
      How developers use Lumen and Sinatra
      Avatar of datapile
      datapile uses SinatraSinatra

      Scalatra (we had to pick Sinatra on StackShare since Scalatra is has not yet been officially added) is the slickest (not to be confused with Slick for Scala) web/applet server framework we've had the pleasure of playing with in Scala.

      For all intensive purposes, Scalatra is the Scala version of Sinatra (which for anyone who doesn't know is a Ruby web server DSL).

      Avatar of Karma
      Karma uses SinatraSinatra

      We use Sinatra a lot. I love Sinatra for APIs. It's really simple, really lightweight. It's awesome.

      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 Gums Up
      Gums Up uses LumenLumen

      We have a service for resizing and serving images.

      Avatar of thanawatsenawat
      thanawatsenawat uses LumenLumen

      For leaning to Create REST API

      Avatar of EdgeTheory
      EdgeTheory uses SinatraSinatra

      Microservices, RESTful APIs

      Avatar of Andrei Kun
      Andrei Kun uses LumenLumen

      JSON API Framework

      Avatar of Satoru Ishikawa
      Satoru Ishikawa uses SinatraSinatra

      WebAPIつくるのに。

      How much does Lumen cost?
      How much does Sinatra cost?
      Pricing unavailable
      Pricing unavailable