laravel route::prefix examples
Example 1: laravel route match
Route::match(['get', 'post'], '/', function () {
//
});
Route::any('/', function () {
//
});
Example 2: prefix laravel route
Route::get('posts/{post}/comments/{comment}', function ($postId, $commentId) {
//
});