Need advice about which tool to choose?Ask the StackShare community!
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.
Pros of Lumen
- API38
- Microframework28
- MVC19
- PHP16
- Open source12
- Eloquent11
- Restful & fast framework10
- Composer8
- Illuminate support7
- Brother of laravel and fast4
- Easy to learn4
- Fast4
Pros of Yii
- Open source42
- Code generator33
- Simple33
- Active record29
- Full featured26
- Documentation21
- High performance21
- Rapid development20
- Flexible16
- Mvc11
- Not bloated10
- Stable Release8
- Community8
- Amazing8
- View Helpers7
- Modular architecture6
- Long Term Support6
- Easy setup, easy develop5
- Easy1
Sign up to add or upvote prosMake informed product decisions
Cons of Lumen
- Not fast3
- PHP2
- Not fast with MongoDB1
Cons of Yii
- Unnatural love of arrays2
- Promotes spagetti code1
- Too Opinionated1
- Promotes bad practice1