Routes
How to add routes?
$router Parameters
$router->get(
'/home', // home route
function(){} // function
);Declare a simple GET method route
/**
* About Page
*/
$router->get('/about',function(){
echo "Welcome to about page";
});Point to views folder
Last updated