Opinionated, modern PHP web application skeleton using Twig templates and HTMX for interactivity.
- PSR-15 application architecture
- nikic/FastRoute for routing
- PHP-DI for the PSR-11 container
- laminas/laminas-diactoros for the PSR-7 implementation
- twigphp/twig for templates
- HTMX for interactivity
- middlewares/psr15-middlewares for some common middlewares (error handling, routing & request handling)
composer create-project sanderdlm/skeleton <your-project-name>
composer start
Find your project at http://localhost:8080