nirbose / router.php
Petit Router perso
1.3.1
2022-04-23 15:12 UTC
Requires
- php: >=7.4.0
Requires (Dev)
- guzzlehttp/guzzle: ^7.4
- phpunit/phpunit: ^9.5
- symfony/var-dumper: ^6.0
README
code source de mon routeur php
Utilisation :
Les fonctions disponibles sont :
- get
- post
- put
- patch
- delete
- options
Exemple :
Route::get('about', function () { return "<h1>About Page !</h1>"; });
License
nirbose/router.php
is released under the MIT public license. See the enclosed LICENSE
for details.