hapi vs Lumen: What are the differences?
hapi: Server Framework for Node.js. 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; 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.
hapi and Lumen belong to "Microframeworks (Backend)" category of the tech stack.
"Makes me Hapi making REST APIs" is the primary reason why developers consider hapi over the competitors, whereas "API" was stated as the key factor in picking Lumen.
hapi and Lumen are both open source tools. It seems that hapi with 11.3K GitHub stars and 1.16K forks on GitHub has more adoption than Lumen with 6.31K GitHub stars and 836 GitHub forks.
Hazeorid, Kanteron Systems, and Slickage Studios are some of the popular companies that use hapi, whereas Lumen is used by Geocodio, Next, and Index.co. hapi has a broader approval, being mentioned in 58 company stacks & 34 developers stacks; compared to Lumen, which is listed in 34 company stacks and 25 developer stacks.
What is hapi?
What is Lumen?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using hapi?
What are the cons of using Lumen?
Sign up to get full access to all the companiesMake informed product decisions
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
Serves static content. Was added to make it more easy to transition to serverside view templating and API.
First our BE was pure PHP, then it evolved to Laravel and now we are on Lumen. Superb.