AltHub

slimphp/Slim Alternatives

PHP micro-framework

Slim is a PHP micro-framework for building web applications and APIs using PSR-7 and PSR-15 middleware.

12.3kPHPMITactive · last push 27d agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

mezzio/mezzioGitHub

Choose Mezzio for an actively maintained PSR-15 middleware micro-framework from the Laminas ecosystem, directly comparable to Slim.

PSR-15 Middleware Microframework

396
PHP
BSD-3-Clause
active29d ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

symfony/symfonyGitHub

Choose Symfony for a full-stack PHP ecosystem with reusable components and more structure than Slim's micro core.

The Symfony PHP framework

31.1k
PHP
MIT
active27d ago
yiisoft/yii2GitHub

Choose Yii2 when you need a full-stack PHP framework with built-in security and rapid prototyping features rather than Slim's minimal approach.

Yii 2: The Fast, Secure and Professional PHP Framework

14.3k
PHP
BSD-3-Clause
active28d ago
windwalker-io/frameworkGitHub

Choose Windwalker when you need a modular RAD PHP framework instead of Slim's lightweight micro-framework setup.

PHP Rapid Application Development Framework

255
PHP
MIT
active27d ago
spiral/frameworkGitHub

Choose Spiral for a high-performance full-stack PHP framework with many built-in components instead of Slim's minimal routing and middleware.

High-Performance PHP Framework

2.1k
PHP
MIT
active1mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

igniphp/frameworkGitHub

Choose for Swoole-based REST micro-services if you accept a project with no recent maintenance, but it is not a drop-in peer.

Swoole, PSR-15, PSR-7, PSR-11 lightweight modular anti-framework for REST micro-services.

263
PHP
MIT
dormant5.7y ago
zendframework/zend-expressiveGitHub

Previous PSR-15 middleware micro-framework, predecessor to Mezzio; only relevant for legacy Expressive codebases.

PSR-15 middleware in minutes!

703
PHP
BSD-3-Clause
archived6.7y ago

Listed as an alternative to

These projects were analysed and named Slim among their alternatives. The relationship is not symmetric — how Slim rates them is a separate judgement, made when Slim is analysed in its own right.

laravel/laravelGitHub

calls Slim “Micro-framework for small APIs and apps; choose when you need minimal dependencies and maximum performance over Laravel's full-stack features.”

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.

84.9kBladeactive
symfony/symfonyGitHub

calls Slim “A lightweight PHP micro-framework; choose it for small APIs or apps that don't need Symfony's full stack and want a far lighter runtime.”

The Symfony PHP framework

31.1kPHPactive
yiisoft/yii2GitHub

calls Slim “microframework for lightweight HTTP apps/APIs; choose when full-stack features are overkill.”

Yii 2: The Fast, Secure and Professional PHP Framework

14.3kPHPactive