odan / slim4-skeleton
A Slim 4 skeleton
Fund package maintenance!
0.30.3
2025-11-12 17:56 UTC
Requires
- php: ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
- ext-json: *
- fig/http-message-util: ^1.1
- monolog/monolog: ^3
- nyholm/psr7: ^1.8.1
- nyholm/psr7-server: ^1.1
- php-di/php-di: ^7
- selective/basepath: ^2
- slim/slim: ^4
Requires (Dev)
This package is auto-updated.
Last update: 2026-06-12 19:11:32 UTC
README
Slim 4 Skeleton
This is a skeleton to quickly set up a new Slim 4 application.
Requirements
- PHP 8.2 - 8.5
Installation
Read the documentation
Features
This project is based on best practices and industry standards:
- Standard PHP package skeleton
- HTTP router (Slim)
- HTTP message interfaces (PSR-7)
- HTTP Server Request Handlers, Middleware (PSR-15)
- Dependency injection container (PSR-11)
- Autoloader (PSR-4)
- Logger (PSR-3)
- Code styles (PSR-12)
- Single action controllers
- Unit- and integration tests
- Tested with Github Actions
- PHPStan
Support
- Issues
- Blog
- Donate for this project.
- Slim 4 eBooks
License
The MIT License (MIT). Please see License File for more information.
