Skip to content

Examples

lastguest edited this page Oct 17, 2014 · 1 revision

Basic Routing

<?php
// Load vendors
include 'vendor/autoload.php';

Route::on('/',function(){
	echo "Hello from Core!";
});

// Dispatch route
Route::dispatch();

// Send response to the browser
Response::send();

Clone this wiki locally