Validación de Laravel en la ruta Gropu
Route::prefix('prefix_name')
->where(['prefix_variable' => '[0-9]+'])->group(function () {
Route::get('get_link', function ($projectType) {
dd($projectType);
});
Route::post('post_link', function ($projectType, $detail) {
dd($projectType, $detail);
});
});
Itchy Iguana