laravel how to generate route code example Example: how to create route in laravel Route::match(['get', 'post'], '/', function () { // });