This is a skeleton to quickly set up a new Slim 4 application.
- PHP 7.3+ or 8.0+
- MySQL 5.7+ or MariaDB
- Composer (only for development)
- NPM (only for development)
- Apache with mod_rewrite
- Apache Ant to build deployment artifacts
This project is based on best practices and industry standards:
- HTTP message interfaces (PSR-7)
- HTTP Server Request Handlers, Middleware (PSR-15)
- HTTP factories (PSR-17)
- HTTP router and dispatcher (Slim)
- Dependency injection container (PSR-11)
- Modern coding style (PSR-1, PSR-12)
- PHPDoc standard (PSR-5, PSR-19)
- Autoloading (PSR-4)
- Logging (PSR-3)
- Standard PHP package skeleton
- Single action controllers (ADR)
- Translations (Symfony)
- Sessions
- Console Commands (Symfony)
- Twig templates with translations (Symfony)
- Input validation
- Migrations (Phinx)
- SQL Query Builder (CakePHP)
- Phinx Migrations Generator
- Immutable date and time (Chronos)
- Unit- and integrations tests (PHPUnit)
- Tested with Github Actions and Scrutinizer CI
- PHPStan (Level: max)
- Build and deployment scripts
- Docker container with Xdebug support for PhpStorm
- Webpack (Assets bundler)
- Bootstrap (Frontend component library)
- DataTables.net (Advanced tables)
- jQuery (for Bootstrap)
- SweetAlert2 (Flexible modal window)
- notifit 2 (Notifications)
- Spinner (Loading indicator)
- CSS and JS minifier
- Issues: https://github.com/odan/slim4-skeleton/issues
- Documentation: https://odan.github.io/slim4-skeleton/
- Here you can donate for this project.
The MIT License (MIT). Please see License File for more information.
