Download the PHP package willry/micro-router without Composer
On this page you can find all versions of the php package willry/micro-router. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download willry/micro-router
More information about willry/micro-router
Files in willry/micro-router
Download willry/micro-router
More information about willry/micro-router
Files in willry/micro-router
Vendor willry
Package micro-router
Short Description A simple router library with controllers and middlewares
License
Package micro-router
Short Description A simple router library with controllers and middlewares
License
Please rate this library. Is it a good library?
Informations about the package micro-router
Micro Router
Uma biblioteca de rotas simples, que permite a declaração de rotas definindo:
- Verbo HTTP
- Controller e o método responsável pela rota
- Middlewares
Como executar a aplicação?
- Iniciar um servidor de testes para poder acessar as rotas
Exemplo de uso
public/index.php
Exemplo de controller
Exemplo de middleware
Customização de erros
É possível customizar qualquer saída de exception
All versions of micro-router with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package willry/micro-router contains the following files
Loading the files please wait ....