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