axlon/laravel-postal-code-validation
Laravel validation rules for postal codes, powered by Google's libaddressinput. Validate against one or more ISO 3166-1 alpha-2 countries, or conditionally with other fields using the postal_code and postal_code_with rules. Simple, fluent integration.
postal_code_for or postal_code_with only referenced fields in an arraypostal_code_for and postal_code_with when only some referenced fields were presentAxlon\PostalCodeValidation\Validator to Axlon\PostalCodeValidation\PostalCodeValidator and changed its methods (breaking change)postal_code rule, which longer accepts references to request parameters as arguments (breaking change):formats error message placeholder (breaking change)postal_code_for rule, which accepts references to request parameters as arguments:examples error message placeholderaddresses.*.country):countries and :formats placeholdersTypeError when a postal_code_with field holds a value that is not a stringpostal_code_for rule has been removed, use postal_code_with insteadPostalCodes facade has been removedHow can I help you explore Laravel packages today?