#2727th of 107 in Backend and cloud templates

slim

PHP micro-framework for routing and middleware in web apps and APIs

Releases and problems feed (RSS)

Stars
12.3k
License
MIT
Last commit
Nov 2026
Last release
Sep 2026
Language
PHP
Stars, last 29 weeks+114
6 May 2026: 12,171 stars13 May 2026: 12,175 stars20 May 2026: 12,179 stars27 May 2026: 12,179 stars3 Jun 2026: 12,185 stars10 Jun 2026: 12,188 stars17 Jun 2026: 12,190 stars24 Jun 2026: 12,197 stars1 Jul 2026: 12,199 stars8 Jul 2026: 12,201 stars15 Jul 2026: 12,204 stars22 Jul 2026: 12,207 stars29 Jul 2026: 12,210 stars5 Aug 2026: 12,214 stars12 Aug 2026: 12,221 stars19 Aug 2026: 12,226 stars26 Aug 2026: 12,226 stars2 Sept 2026: 12,230 stars9 Sept 2026: 12,232 stars16 Sept 2026: 12,237 stars23 Sept 2026: 12,239 stars30 Sept 2026: 12,244 stars7 Oct 2026: 12,247 stars14 Oct 2026: 12,251 stars21 Oct 2026: 12,254 stars28 Oct 2026: 12,258 stars4 Nov 2026: 12,262 stars11 Nov 2026: 12,269 stars18 Nov 2026: 12,275 stars25 Nov 2026: 12,285 stars

12,171 on 6 May 202612,285 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Slim is a PHP micro-framework that provides routing, PSR-7 request and response handling, and a middleware stack for small web apps and HTTP APIs. It is installed with Composer and works with several PSR-7 implementations, including Slim-Psr7, Nyholm, Guzzle, HttpSoft and Laminas. It has no AI features; it is a general backend base you would build on.

Who it is for: PHP developers building small HTTP APIs or backends

Strengths

  • Installs with one Composer command; requires PHP 7.4 or newer
  • Works with any of five PSR-7 implementations, auto-detected by AppFactory
  • Runs under the built-in PHP server for quick local testing
  • MIT licensed with a documented v4 and an active 4.x branch

Weaknesses

  • No built-in AI, model or LLM integration; you wire that in yourself
  • You must choose and install a PSR-7 implementation before it runs
  • Micro-framework: no ORM, auth or templating included
  • Minimum PHP 7.4 is stated; newer-version support is not documented in the README

What it needs

  • PHP
  • Needs PHP 7.4+, Composer, PSR-7 implementation

What changed

  1. 3.13.1 ↗ (opens in a new tab)Security fix

    GHSA-V5C2-FF5F-P98X. “Security: Parse nested uploaded files in linear time by @akrabat in https://github.com/slimphp/Slim/pull/3487 (GHSA-v5c2-ff5f-p98x)”

  2. 4.15.3 ↗ (opens in a new tab)Security fix

    GHSA-H377-P8X2-PRF9. “Security: Stop decoding route arguments twice to prevent route constraint bypass (GHSA-h377-p8x2-prf9)”

  3. 4.15.2 ↗ (opens in a new tab)Security fix

    CVE-2026-48157, GHSA-53H4-8RC4-F539. “Security: CVE-2026-48157: Escape HTML entities in HtmlErrorRenderer to prevent XSS attacks (GHSA-53h4-8rc4-f539)”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Backend and cloud templates

See all 107
Also in Backend and cloud templates
RankProjectScore
#25elysiaTypeScript web framework for Bun with end-to-end type safety19.4k starsMIT78 out of 100
#26playframeworkStateless, non-blocking web framework for Java and Scala applications12.6k starsApache-2.078 out of 100
#28powertools-lambda-pythonPython toolkit for AWS Lambda: logging, tracing, metrics, event handlers, idempotency3.3k starsMIT-078 out of 100
#29javalinLightweight web framework for Java and Kotlin with WebSockets and HTTP/28.4k starsApache-2.076 out of 100
#30chiComposable HTTP router for Go REST services, built on net/http23.2k starsMIT75 out of 100