Slim Framework
app
Slim Framework | app | |
---|---|---|
8 | 6 | |
11,824 | 0 | |
0.2% | - | |
6.6 | 6.3 | |
6 days ago | about 2 months ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
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 Framework
-
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.
- Slim, possívelmente o framework ideal para quem vem do Golang
-
Any backend framework that just 'works'? I find Spring very difficult and cumbersome.
Slim is very lightweight and has a similar API to Express https://github.com/slimphp/Slim
-
Intermittent PHP Abstract Class Error
Yes, I've opened a ticket with Slim. I also saw it in a non-slim file (Pimple) so I don't think it is a Slim issue.https://github.com/slimphp/Slim/issues/2160
- Decorator pattern implementing interface
-
Piko router, a fast router for PHP based on radix tree
Sounds like part of Slim's RoutingResults. Which then is pretty much:
-
Nine years after, how much of this is still true about PHP?
Switched from Python to PHP and now using Slim. Very happy with the move so far.
-
PHP routing library for fast API development
At my day job we needed to develop an API and I've never really tried to build one using vanilla PHP, but instead used frameworks such as CodeIgniter or Slim or just a simple file that would mimic the functionality of an API but not be a proper one. Also we had a requirement that we needed to have full control over the code so we were not supposed to use any of the pre built solutions because of that requirement.
app
-
Creating a console app - for a SaaS API
For the CLI tool itself, you'd be looking at: https://github.com/apexpl/app/
- Piko router, a fast router for PHP based on radix tree
-
Let's Debate, SVN over git?
You're right, in the "develop Your First Package" guide I use the get method, which is only available via Guzzle and it's not PSR-18 compliant. I did that for the sake of brevity, because I figured anyone viewing that guide will be using the default install which comes with Guzzle. If you look through the App package though (https://github.com/apexpl/app/) you'll see it only ever uses the PSr-18 compliant sendRequest method. Although Apex does come with Guzzle by default, developers are more than welcome to modify the ~/boot/container.php file and change that one entry out to any PSR-18 compliant implementation they would like such as Httpful or whatever, and I promise Apex will continue humming along just fine.
-
[PHP] - pre-mature, but Apex v2, and let's see what happens
Please note, I didn't just pull SVN out of my ass, and a whole lot of planning and research went into this. Take a look at the code at https://github.com/apexpl/app/ and you'll see for yourself this is solid code. Are you by chance a PHP developer? If so, feel free to give this a test spin via Docker. The design is horrendous at the moment, but the network is online and solid -- https://apexpl.io/guides/develop_your_first_package
What are some alternatives?
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.
AutoRoute - Automatically maps HTTP requests to PHP action classes.
Symfony - The Symfony PHP framework
Silly - Silly CLI micro-framework based on Symfony Console
Yii2 - Yii 2: The Fast, Secure and Professional PHP Framework
phpmicro - micro sfx SAPI for php (wip, may force push)
CodeIgniter - Open Source PHP Framework (originally from EllisLab)
Lean and Mean Docker containers - Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
Swoole - 🚀 Coroutine-based concurrency library for PHP
Laravel-Zero - A PHP framework for console artisans
CodeIgniter4 - Open Source PHP Framework (originally from EllisLab)
box - 📦🚀 Fast, zero config application bundler with PHARs.