sanderdlm / skeleton
Skeleton for a PHP project
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Twig
Type:project
Requires
- php: ^8.3
- laminas/laminas-diactoros: ^3.3
- laminas/laminas-httphandlerrunner: ^2.9
- middlewares/error-handler: ^3.0
- middlewares/fast-route: ^2.0
- middlewares/request-handler: ^2.0
- nikic/fast-route: ^1.3
- php-di/php-di: ^7.0
- twig/twig: ^3.7
Requires (Dev)
- symfony/var-dumper: ^7.0
README
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)
Create project
composer create-project sanderdlm/skeleton <your-project-name>
Run project
composer start
Find your project at http://localhost:8080