routes match in laravel 8 code example
Example: laravel route match
Route::match(['get', 'post'], '/', function () {
//
});
Route::any('/', function () {
//
});
Route::match(['get', 'post'], '/', function () {
//
});
Route::any('/', function () {
//
});