Get Advice Icon

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

hapi
hapi

295
217
+ 1
80
Slim
Slim

198
154
+ 1
120
Add tool

hapi vs Slim: What are the differences?

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

What is Slim? A PHP micro framework. Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself.

hapi and Slim can be categorized as "Microframeworks (Backend)" tools.

"Makes me Hapi making REST APIs" is the primary reason why developers consider hapi over the competitors, whereas "Microframework" was stated as the key factor in picking Slim.

hapi and Slim are both open source tools. It seems that hapi with 11.3K GitHub stars and 1.16K forks on GitHub has more adoption than Slim with 9.95K GitHub stars and 1.84K GitHub forks.

According to the StackShare community, hapi has a broader approval, being mentioned in 58 company stacks & 34 developers stacks; compared to Slim, which is listed in 29 company stacks and 21 developer stacks.

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

What is Slim?

Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself.
Get Advice Icon

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

Why do developers choose hapi?
Why do developers choose Slim?

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
      Jobs that mention hapi and Slim as a desired skillset
      What companies use hapi?
      What companies use Slim?

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

      What tools integrate with hapi?
      What tools integrate with Slim?
      What are some alternatives to hapi and Slim?
      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.
      Sinatra
      Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.
      Koa
      Koa aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. Through leveraging generators Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware.
      See all alternatives
      Decisions about hapi and Slim
      Y. Taborda
      Y. Taborda
      Full Stack Developer · | 1 upvotes · 45.4K views
      PHP
      PHP
      Lumen
      Lumen
      Yii
      Yii
      Slim
      Slim

      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 hapi and Slim
      No reviews found
      How developers use hapi and Slim
      Avatar of Thibault Maekelbergh
      Thibault Maekelbergh uses hapihapi

      Serves static content. Was added to make it more easy to transition to serverside view templating and API.

      Avatar of Tristan Bailey
      Tristan Bailey uses SlimSlim

      Knocking up apis and smaller than laravel work projects

      Avatar of Ian Kelly
      Ian Kelly uses hapihapi

      Web framework for building RESTful APIs in Javascript.

      Avatar of InApplet
      InApplet uses SlimSlim

      Framework usado no código da aplicação principal

      Avatar of Takkaa
      Takkaa uses SlimSlim

      we create our API with this microframework

      Avatar of Björn Pfoster
      Björn Pfoster uses SlimSlim

      A fast, slim and scalable PHP Framework

      Avatar of Dave Woolfenden
      Dave Woolfenden uses hapihapi

      REST libraries usage

      How much does hapi cost?
      How much does Slim cost?
      Pricing unavailable
      Pricing unavailable
      News about hapi
      More news
      News about Slim
      More news