photogabble / tuppence-boilerplate
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 7
Type:project
Requires
- php: ^8.0
- doctrine/annotations: ^2.0
- doctrine/dbal: ^3.5
- doctrine/orm: ^2.14
- league/plates: ^3.5
- photogabble/tuppence: ^2.0.0
- symfony/cache: ^6.2
Requires (Dev)
- phpunit/phpunit: ^8.5|^9.5
This package is auto-updated.
Last update: 2024-11-15 15:42:35 UTC
README
An Incredibly small PSR-7 "framework"
About this boilerplate
This boilerplate wraps Tuppence with some project structure and includes a service provider for the Plates PHP template system and Docrtine ORM.
Install
Install this project with composer composer create-project photogabble/tuppence-boilerplate
.
For development, you can use php -S 127.0.0.1:3000 -t public
to serve your project locally on http://127.0.0.1:3000.
PSR-7 Support
Tuppence supports PSR-7 and therefore you will find a lot of PSR-7 middleware libraries work out of the box, for example the below are known to work:
bryanjhv/slim-session
Middleware for initiating and managing Sessions.
akrabat/rka-ip-address-middleware
Middleware that determines the clients IP address and stores it as a ServerRequest
attribute.
php-middleware/php-debug-bar
Framework-agnostic middleware for attaching PHP Debug Bar to your response.