prefix('v1')->group(function () { Route::apiResource('stocks', StocksController::class)->names('stocks'); });