Answers for "laravel validation on gropu route"

PHP
0

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);
        });
    });
Posted by: Guest on May-02-2021

Code answers related to "laravel validation on gropu route"

Browse Popular Code Answers by Language