odan / slim4-skeleton
A Slim 4 skeleton
Fund package maintenance!
Ko Fi
Installs: 8 043
Dependents: 0
Suggesters: 0
Security: 0
Stars: 449
Watchers: 30
Forks: 80
Open Issues: 1
Type:project
Requires
- php: 8.2.* || 8.3.*
- 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)
- dev-master
- 0.30.1
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.2
- 0.25.1
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.1
- 0.20.0
- 0.19.4
- 0.19.3
- 0.19.2
- 0.19.1
- 0.19.0
- 0.18.3
- 0.18.2
- 0.18.1
- 0.18.0
- 0.17.3
- 0.17.2
- 0.17.1
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.1
- 0.13.0
- 0.12.0
- 0.11
- 0.10.0
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.1
- 0.3.0
- 0.2.0
- 0.1.1
- 0.1.0
- dev-dependabot/composer/phpstan/phpstan-2.star
This package is auto-updated.
Last update: 2024-12-12 04:50:47 UTC
README
Slim 4 Skeleton
This is a skeleton to quickly set up a new Slim 4 application.
Requirements
- PHP 8.2
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 and Scrutinizer CI
- PHPStan
Support
- Issues
- Blog
- Donate for this project.
- Slim 4 eBooks
License
The MIT License (MIT). Please see License File for more information.