Extremely small framework.
Tuppence is a very small micro framework that brings together a powerful PSR-11 dependency injection container, a fast PSR-7 router supporting PSR-15 middleware and a simple and effective PSR-14 event dispatcher all provided by The League of Extraordinary Packages.
Tuppence aims to be simple, lightweight and extremely flexible in order to provide the tools needed to quickly write web applications and APIs.
Its recommended to use Composer to install this framework and all required dependencies:
$ composer require photogabble/tuppence
Alternatively you can create a new project using the tuppence boilerplate via:
$ composer create-project photogabble/tuppence-boilerplate
Tuppence 2.0 requires PHP 8.0 or newer.
- Target minimum php version of
- Update usage of PHPUnit from
- Replace Travis-CI with GitHub Actions
- Replace usage of
laminas/laminas-diactorosas per issue #3
- Update usage of league/container from
- Update usage of league/event from
- Update usage of league/route from
- Add tests for router DI
- Add tests for Routing to controllers
- Add documentation
Tuppence was first created as an update to and in inspiration from Proton by Alex Bilbie. It appears that in the many years since then the Proton repository has been deleted.