izyanzz / routerphp
1.0.0
2021-12-08 04:39 UTC
This package is not auto-updated.
Last update: 2024-05-09 15:06:57 UTC
README
This is project router using PHP
My Github : IzyanzZ
Tutorial
This is example of using RouterPHP
<?php require_once __DIR__ "vendor/autoload.php"; use IzyanzZ\Router; $route = new Router(); // Get Method $route->get("/", function() { echo "Hello, World!"; }); // Post Method $route->post("/", function() { echo "Hello, World!"; }); $route->run();