heinrichschiller / slim-skeleton
My own simple slim skeleton, based on odan/slim4-skeleton
Installs: 88
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.2
- fig/http-message-util: ^1.1
- monolog/monolog: ^3.5
- nyholm/psr7: ^1.8
- nyholm/psr7-server: ^1.1
- php-di/php-di: ^7.0
- selective/basepath: ^2.2
- selective/config: ^1.2
- slim/slim: ^4.13
- symfony/uid: ^7.0
Requires (Dev)
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^11.0
- selective/test-traits: ^4.1
- squizlabs/php_codesniffer: ^3.9
- symfony/console: ^7.0
README
My own simple slim skeleton app, for websites, apis and webapps. It is not better than the official Slim-Skeleton, it is more a composer package and has my own configuration for my work with Slim. If you don't know what to take, take the original :)
See below:
Slim-Framework Mainpage
Slim-Documentation
https://www.slimframework.com/docs/v4/
Slim-Framework GitHub
Official Slim-Skeleton
https://github.com/slimphp/Slim-Skeleton
This Skeleton is based on:
- https://github.com/odan/slim4-skeleton
- https://odan.github.io/2019/11/05/slim4-tutorial.html
- https://ko-fi.com/s/5f182b4b22
Install
composer create-project heinrichschiller/slim-skeleton [my-app-name] --prefer-dist
Requirements
- PHP 8.2+
Features
- 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)
- Single action controllers
- Unit- and integration tests
- Console Commands
Developer tools
- phpunit/phpunit
- phpstan/phpstan
- squizlabs/php_codesniffer