Slim vs Spark Framework: What are the differences?
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; Spark Framework: A micro framework for creating web applications in Kotlin and Java 8 with minimal effort. It is a simple and expressive Java/Kotlin web framework DSL built for rapid development. Its intention is to provide an alternative for Kotlin/Java developers that want to develop their web applications as expressive as possible and with minimal boilerplate.
Slim and Spark Framework can be primarily classified as "Microframeworks (Backend)" tools.
Slim is an open source tool with 10.1K GitHub stars and 1.85K GitHub forks. Here's a link to Slim's open source repository on GitHub.
Coderus, WebbyLab, and ProduceRun, Inc are some of the popular companies that use Slim, whereas Spark Framework is used by Kasa Smart, AfricanStockPhoto, and Khartec ltd. Slim has a broader approval, being mentioned in 43 company stacks & 139 developers stacks; compared to Spark Framework, which is listed in 5 company stacks and 4 developer stacks.
What is Slim?
What is Spark Framework?
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 Slim?
What are the cons of using Spark Framework?
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