Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanderdlm/skeleton
https://github.com/sanderdlm/skeleton
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sanderdlm/skeleton
- Owner: sanderdlm
- License: mit
- Created: 2024-05-21T17:53:21.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T18:07:07.000Z (6 months ago)
- Last Synced: 2024-06-23T01:29:47.924Z (5 months ago)
- Language: Twig
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP + HTMX = ❤️
Opinionated, modern PHP web application skeleton using Twig templates and HTMX for interactivity.
* [PSR-15](https://www.php-fig.org/psr/psr-15/) application architecture
* [nikic/FastRoute](https://github.com/nikic/FastRoute) for routing
* [PHP-DI](https://github.com/PHP-DI/PHP-DI) for the [PSR-11](https://www.php-fig.org/psr/psr-11/) container
* [laminas/laminas-diactoros](https://github.com/laminas/laminas-diactoros) for the [PSR-7](https://www.php-fig.org/psr/psr-7/) implementation
* [twigphp/twig](https://twig.symfony.com/) for templates
* [HTMX](https://htmx.org/) for interactivity
* [middlewares/psr15-middlewares](https://github.com/middlewares/psr15-middlewares) for some common middlewares (error handling, routing & request handling)## Create project
```bash
composer create-project sanderdlm/skeleton
```
## Run project
```bash
composer start
```
Find your project at [http://localhost:8080](http://localhost:8080)