Skip to content

Country Specific Validators #629

Open
@bzip2-9

Description

@bzip2-9

Package version eg. v8, v9:

Probably, v11

Issue, Question or Enhancement:

How do you feel about creating a directory structure for country specific validations, similar to the translations ? It's a great library, full of generic validators, but almost every system has to validate country specific data (specially documents for person, company, vehicle, bank account, zip codes, cities, states, etc.) and this is generic (for each particular country, of course).

Maybe, the validator tag should have a two letter prefix, identifying the country (if the system is used by more than one country at the same time, it could differenciate between the validators).

As the translations, it can't be compiled for every one, just when imported. Different from translations, not all validators make sense in all countries.

Using the library since last week (using v10), I already created some validators for my country (Brazil).

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions