# Slim

> PHP micro framework for small web applications and APIs

Source: https://talira.ai/catalog/slim-bqppx9j7
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Supports: [PSR-7](https://talira.ai/standards/psr-7.md), [PSR-11](https://talira.ai/standards/psr-11.md)
- Backed by: [Slim Framework Team](https://talira.ai/orgs/slim-framework-team.md)

Slim is a PHP micro framework for writing web applications and APIs. It gives you a fast router that maps HTTP methods and URIs to callbacks, concentric middleware around the request and response, any PSR-7 HTTP message implementation and any PSR-11 dependency injection container. A new project starts from the Slim-Skeleton template with Composer.

## Links

- Website: https://www.slimframework.com/
- GitHub: https://github.com/slimphp/Slim
- Docs: https://www.slimframework.com/docs/v4/

## Problems it solves

- build a small JSON API in PHP without a full-stack framework
- route HTTP requests to PHP functions with middleware
- start a lightweight PHP web app with my own choice of container and HTTP library

## Features

- HTTP router with route parameters and pattern matching
- concentric middleware around requests and responses
- works with any PSR-7 HTTP message implementation
- works with any PSR-11 dependency injection container
- Slim-Skeleton project template

## Limitations

- Slim 4 requires PHP 7.4 or newer.[^1]

## Trust

Overall: 0.64 out of 1.
Signals: maintenance 0.80, adoption 0.82, momentum 0.55, community 0.99, backing 0.30, extensibility 0.00.

- last commit 9 days ago
- 30 commits in the last 90 days
- latest release 4.15.3 2 months ago
- 12.3k GitHub stars
- 294 contributors
- accepts sponsorship (Open Collective, Tidelift)
- backed by Slim Framework Team

## Alternatives

- [CodeIgniter](https://talira.ai/catalog/codeigniter-tm3d2mqp.md): The small framework with powerful features

## Sources

[^1]: https://github.com/slimphp/Slim/blob/4.x/README.md (checked 28 Nov 2026)
[^2]: https://www.slimframework.com/ (checked 28 Nov 2026)
[^3]: https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (checked 28 Nov 2026)
