laravel validation on gropu route code example
Example: laravel validation on gropu route
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);
});
});