Skip to content

Application Routes

Stefan Segers edited this page Oct 27, 2021 · 4 revisions

Most of the time a route will have to perform some logic instead of just showing a view.

For simple logic it can be included directly in the route through a function call.

Router::get('/contact', function(){

});

Clone this wiki locally