Skip to content

FurkannM/BasicRoute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BasicRoute

PHP based route system

Example Routes in routes.php

get request route with function

Route::get("/test", function() { echo "Hello World! This is a get request."; });

get request route with view

Route::get("/test", function() { View::page("public/test.php"); });

post request route with function

Route::post("/test", function() { echo "Hello World! This is a get request."; });

post request route with view

Route::post("/test", function() { View::page("public/test.php"); });

About

PHP based route system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages