odan / slim4-skeleton
A Slim 4 skeleton
Fund package maintenance!
Ko Fi
Installs: 6 829
Dependents: 0
Suggesters: 0
Security: 0
Stars: 407
Watchers: 28
Forks: 79
Open Issues: 0
Type:project
Requires
- php: ^8.1
- ext-json: *
- ext-pdo: *
- cakephp/chronos: ^2
- cakephp/database: ^4
- cakephp/validation: ^4.4
- fig/http-message-util: ^1.1
- monolog/monolog: ^3
- nyholm/psr7: ^1.4
- nyholm/psr7-server: ^1.0
- php-di/php-di: ^6 || ^7
- selective/basepath: ^2
- slim/slim: ^4
- symfony/uid: ^6
Requires (Dev)
This package is auto-updated.
Last update: 2023-09-16 10:27:10 UTC
README
Slim 4 Skeleton
This is a skeleton to quickly set up a new Slim 4 application.
Requirements
- PHP 8.1+
- MySQL 5.7+ or MariaDB
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
- Input validation
- Query Builder
- Immutable date time (Chronos)
- Unit- and integration tests
- Console Commands
- Tested with Github Actions and Scrutinizer CI
- PHPStan
Support
- Issues
- Blog
- Donate for this project.
- Slim 4 eBook on Ko-Fi
- Slim 4 eBook on Stripe
License
The MIT License (MIT). Please see License File for more information.