Need advice about which tool to choose?Ask the StackShare community!
Lumen vs Slim Lang: 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 Slim Lang? Template language whose goal is reduce the syntax to the essential parts without becoming cryptic. Slim is a template language whose goal is to reduce the view syntax to the essential parts without becoming cryptic. It started as an exercise to see how much could be removed from a standard html template (<, >, closing tags, etc...). As more people took an interest in Slim, the functionality grew and so did the flexibility of the syntax.
Lumen can be classified as a tool in the "Microframeworks (Backend)" category, while Slim Lang is grouped under "Templating Languages & Extensions".
"API" is the primary reason why developers consider Lumen over the competitors, whereas "Easier to type and maintain than haml" was stated as the key factor in picking Slim Lang.
Lumen and Slim Lang are both open source tools. It seems that Lumen with 6.31K GitHub stars and 836 forks on GitHub has more adoption than Slim Lang with 4.84K GitHub stars and 473 GitHub forks.
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 Slim Lang
- Easier to type and maintain than haml13
- Very clean and logical12
- Integrates with Rails by installing a single gem9
- Performs better than haml8
- Concise4
- Extensive package support in sublime text 2 and 33
- Atom package support1
Sign up to add or upvote prosMake informed product decisions
Cons of Lumen
- Not fast3
- PHP2
- Not fast with MongoDB1
Cons of Slim Lang
- Not so good editor support2
- Overcomplicated syntax1
- Lots of syntactic corner cases1
- Easy to break nesting when reindenting or copy-pasting1