Slim
Slim Framework 4 Skeleton Application (by slimphp)
Lumen
The Laravel Lumen Framework. (by laravel)
Our great sponsors
Slim | Lumen | |
---|---|---|
46 | 18 | |
1,561 | 7,638 | |
0.9% | -0.1% | |
6.2 | 2.2 | |
23 days ago | 9 months ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Slim
Posts with mentions or reviews of Slim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-13.
-
Top 12 PHP Frameworks For Web Development in 2024
Slim is a micro PHP framework used for web development with 11.7k stars and 2k forks on GitHub. It has a simple and intuitive API development process. It is a micro-framework, meaning you only get a minimum of support for HTTP requests and forwarding requests to appropriate controllers. So the question is, why should you choose a micro-framework? Because it offers you flexibility and high extensibility.
-
How to make implement "Single Entry Point" in PHP App?
SlimPHP 3 Skeleton app shows this as well: https://github.com/slimphp/Slim-Skeleton/blob/3.1.8/public/index.php
-
Just created a dependency-free lightweight HTTP router
How hard did you look? There are plenty out there. FastRoute, Phroute, based on FastRoute, with basic middleware, League/Route - routing with middleware, using FastRoute, PSR 7 & 15, Slim Framework, at it's core, it like League/Route, etc. None of these require a full framework to use.
- Laravel considered harmful
- I'm looking for a php framework
-
How to structure Slim/PHP-DI Project?
You can have the container call in a config folder with a file called dependencies or how ever you want. A few existing examples of this is here - Slim calls this app/dependencies in this skeleton project and Odan's Skeleton has this as config/container in their project.
-
Hey, html and php problems
Maybe use this if you don't like to dive into bigger frameworks: https://www.slimframework.com/
-
Any suggestions for lighter frameworks than Laravel?
My APIs are in Slim. It's super light and you have all you need: routes and middlewares.
- Slim, possívelmente o framework ideal para quem vem do Golang
-
Which PHP Framework Should You Use in 2023?
You can download it and review the documentation here: https://www.slimframework.com/
Lumen
Posts with mentions or reviews of Lumen.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-13.
-
Top 12 PHP Frameworks For Web Development in 2024
Lumen is also a micro-framework used for developing PHP-powered web applications with 7.6k stars and 1k forks on GitHub. It is based on the Laravel framework and is specifically designed to build microservices and smaller, lightweight applications. The same team behind Laravel creates it and also shares some of its components. But, It is different from Laravel because it doesn’t offer compatibility with any additional Laravel libraries like Cashier, Passport, Scout, etc.
-
Any suggestions for lighter frameworks than Laravel?
There's a note right in project page:
- Slim, possívelmente o framework ideal para quem vem do Golang
-
Differences between Laravel and Lumen
Lumen
-
Vue App with Lumen Passport API (Part I)
Lumen is a stripped down version of Laravel for building APIs. This makes it a lightweight framework. I'm currently using Lumen in a project and I want to use this opportunity to share some of the things I've learnt.
-
Exploring the PHP Frameworks using Symfony Components
Official website: lumen.laravel.com
-
Should choose laravel or lumen to write api for an mobile app?
see also: https://github.com/laravel/lumen
-
Yes, PHP is Worth Learning/Using in $CURRENT_YEAR
If you're concerned about frameworks perhaps being "overkill" for what you want to do with PHP, you'll be happy to hear that Symfony is a microframework out of the box (all components outside of the core framework are 100% optional), and Laravel also has a microframework variant called Lumen.
-
What is the best practice for sending and receiving data between HTML and PHP?
I would let a framework handle this for you. It can render your HTML views and handle the security for you. It’s been a while since I’ve coded PHP, but I used to love https://laravel.com and https://lumen.laravel.com
-
REST API for 50,000 concurrent connections
Have a look at Laravel Lumen A micro version of Laravel from Laravel.
What are some alternatives?
When comparing Slim and Lumen you can also consider the following projects:
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
Silex
Symfony - The Symfony PHP framework
Bullet PHP - A resource-oriented micro PHP framework
CodeIgniter - Open Source PHP Framework (originally from EllisLab)
Siler - ⚡ Flat-files and plain-old PHP functions rockin'on as a set of general purpose high-level abstractions.
Proton
Liten - Liten is a small and simple micro framework which can be used to build restful services and apps.
Fast Route - Fast request router for PHP