Skip to content

Conversation

@milwad-dev
Copy link
Owner

use Milwad\LaravelValidate\Rules\ValidCountry;

return [
    'country' => ['required', new ValidCountry()], // country => United Arab Emirates
];

@milwad-dev milwad-dev merged commit 8d8d809 into 1.x Feb 18, 2025
32 of 36 checks passed
@milwad-dev milwad-dev deleted the add-valid-country-rule branch February 18, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants