Download the PHP package mrmadclown/ennodia without Composer
On this page you can find all versions of the php package mrmadclown/ennodia. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ennodia
Ennodia - a PHP Router
This is a pretty straight forward Router, a Route consists of a regular expression, a qualified Controller path and optionally a HTTP Method.
Installation
The Router gets constructed by passing an Implementation of Psr\Container\ContainerInterface::class
and a MrMadClown\Ennodia\RouteCollection::class
.
Usage
A Controller either implements __invoke
or get, post, put, patch, delete, etc..
Route Params
Define a route with a variable:
The variables from the route are passed to the respective function in the controller:
All versions of ennodia with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
psr/container Version ^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
psr/container Version ^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
The package mrmadclown/ennodia contains the following files
Loading the files please wait ....