Get Advice Icon

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

Lumen

435
671
+ 1
161
Yii

712
386
+ 1
311
Add tool

Lumen vs Yii: 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, Yii is detailed as "A high-performance PHP framework best for developing Web 2.0 applications". Yii comes with: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.

Lumen and Yii are primarily classified as "Microframeworks (Backend)" and "Frameworks (Full Stack)" tools respectively.

"API" is the top reason why over 16 developers like Lumen, while over 35 developers mention "Open source" as the leading cause for choosing Yii.

Lumen and Yii are both open source tools. Lumen with 6.29K GitHub stars and 833 forks on GitHub appears to be more popular than Yii with 4.87K GitHub stars and 2.21K GitHub forks.

According to the StackShare community, Yii has a broader approval, being mentioned in 48 company stacks & 29 developers stacks; compared to Lumen, which is listed in 24 company stacks and 24 developer stacks.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Lumen
Pros of Yii
  • 38
    API
  • 28
    Microframework
  • 19
    MVC
  • 16
    PHP
  • 12
    Open source
  • 11
    Eloquent
  • 10
    Restful & fast framework
  • 8
    Composer
  • 7
    Illuminate support
  • 4
    Brother of laravel and fast
  • 4
    Easy to learn
  • 4
    Fast
  • 42
    Open source
  • 33
    Code generator
  • 33
    Simple
  • 29
    Active record
  • 26
    Full featured
  • 21
    Documentation
  • 21
    High performance
  • 20
    Rapid development
  • 16
    Flexible
  • 11
    Mvc
  • 10
    Not bloated
  • 8
    Stable Release
  • 8
    Community
  • 8
    Amazing
  • 7
    View Helpers
  • 6
    Modular architecture
  • 6
    Long Term Support
  • 5
    Easy setup, easy develop
  • 1
    Easy

Sign up to add or upvote prosMake informed product decisions

Cons of Lumen
Cons of Yii
  • 3
    Not fast
  • 2
    PHP
  • 1
    Not fast with MongoDB
  • 2
    Unnatural love of arrays
  • 1
    Promotes spagetti code
  • 1
    Too Opinionated
  • 1
    Promotes bad practice

Sign up to add or upvote consMake informed product decisions

101
2.6K
307
1.3K
16.8K

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 Yii?

Yii comes with: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.

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

What companies use Lumen?
What companies use Yii?
Manage your open source components, licenses, and vulnerabilities
Learn More

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

What tools integrate with Lumen?
What tools integrate with Yii?

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

What are some alternatives to Lumen and Yii?
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.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
HTML5
HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
See all alternatives