This is a skeleton to quickly set up a new Slim 4 application.
- PHP 7.2+
- MySQL 5.7+ or MariaDB
- Composer (only for development)
- NPM (only for development and building)
- Apache (with mod_rewrite)
- Apache ant to create deployment artifacts (build)
This project is based on best practice 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 (Symfony)
- Console Commands (Symfony)
- Migrations (Phinx) (CakePHP)
- 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 support
- Webpack (Assets bundler)
- TypeScript (Static type-checking)
- Bootstrap (Frontend component library)
- DataTables.net (Advanced tables)
- jQuery (for Bootstrap, DataTables.net and other)
- SweetAlert2 (Flexible modal window)
- notifit 2 (Notifications)
- Spinner (Loading indicator)
- CSS and JS minifier
- Create issues at https://github.com/odan/slim4-skeleton/issues
- Documentation is at https://odan.github.io/slim4-skeleton/
- Here you can donate for this project.
The MIT License (MIT). Please see License File for more information.