Skip to content
CAI
Produce a survey ↗Verify a survey

slimphp/Slim

This system is a PHP web framework that provides a modular architecture for building HTTP applications. It handles core web server tasks including routing, middleware execution, and error rendering in multiple formats such as HTML, JSON, and XML. The framework also manages request parsing, header manipulation, and response emission, supported by a comprehensive test suite and modern PHP compatibility.

69.8

Adequate · 2 August 2026

4.9k

lines of production code

PHP

primary language

6

bus factor · 365 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2010–2015 · Slim 4 modular architecture and test coverage

This period focused on the initial project scaffolding and the introduction of a modular, interface-driven architecture for the Slim framework. Key developments included the addition of new core classes and interfaces for routing, middleware, and error handling, alongside comprehensive unit tests and mock implementations to ensure robustness.

7 changes

2017–2018 · PSR-15 middleware and error handling

This period focused on implementing PSR-15 middleware for body parsing, routing, and error handling, alongside a comprehensive error rendering system supporting HTML, JSON, and XML formats. The work established a robust foundation for HTTP exception management and response formatting, supported by extensive unit tests for all new components.

10 changes

2019–2022 · Architecture refactoring and factory abstraction

This period focused on decoupling the routing logic into distinct components for improved testability and introducing a PSR-17 factory system to simplify HTTP message creation. The work established a more modular architecture for route handling and streamlined application bootstrapping through dedicated factory classes.

8 changes

CAI lens gauges

Survey your own repository

slimphp/Slim was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 2 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 80900fb39c — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards