PHP Classes

File: route/index.php

Recommend this page to a friend!
  Classes of Boss Ibrahim Mussa   Wepesi PHP Router with Parameters   route/index.php   Download  
File: route/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Wepesi PHP Router with Parameters
Route requests to functions or controller classes
Author: By
Last change:
Date: 1 year ago
Size: 308 bytes


Class file image Download
use Wepesi\App\Core\Router;
$route=new Router();
 * call the route
"<h3>welcome to WEPESI ROUTING</h3>";
$route->get("/welcom", "welcomController#welcom");
"your name is : $name";