use AppEnumsServerStatus; use IlluminateValidationRulesEnum; $request->validate([ 'status' => [new Enum(ServerStatus::class)], ]);