Skip to content
Boilerplate starter project for Tuppence
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
resources/views
src
tests
.gitignore
CONTRIBUTORS.md
LICENSE
README.md
cli.php
composer.json
composer.lock
config.php
phpunit.xml

README.md

Tuppence Boilerplate

An Incredibly small PSR-7 "framework"

Latest Stable Version License

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.

You can’t perform that action at this time.