photogabble / tuppence
Extremely small framework.
Requires
- php: ^8.0
- laminas/laminas-diactoros: ^3.2
- laminas/laminas-httphandlerrunner: ^2.5
- league/container: ^4.2
- league/event: ^3.0
- league/route: ^5.1
Requires (Dev)
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2024-11-09 03:44:09 UTC
README
About Tuppence
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.
Installation
It's 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
Requirements
Tuppence 2.0 requires PHP 8.0 or newer.
2.0 TODO List
- Target minimum php version of
^8
- Update usage of PHPUnit from
5.7.*
to^8.5
- Replace Travis-CI with GitHub Actions
- Replace usage of
Zend\Diactoros
withlaminas/laminas-diactoros
as per issue #3 - Update usage of league/container from
^2.2
to^4.2
- Update usage of league/event from
^2.1
to^3.0
- Update usage of league/route from
^3.0
to^5.1
- Add usage documentation
Not invented here
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.