NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2086 most downloaded on Packagist
Worldwide postal code validation for Laravel and Lumen
Last release 1 months ago
09 Aug 2026
Release timing varies
gaps range from 3 weeks to 1.2 years
Nearly every release is documented
notes for 31 of 31 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
31 releases · first in 2018
Update AR, EG, PY, SV, TT validation pattern in 65ca74e
Full Changelog: v3.9.1...3.10.0
One column per quarter.
Bump actions/checkout from 2 to 6.0.2 by @dependabot [bot] in #43
TypeError when value is not a string or null in 57c84b2Full Changelog: v3.9.0...v3.9.1
TypeError when value is not a string or nullLaravel 13 support by @Luke-Shepp in #42
Full Changelog: v3.8.1...v3.9.0
Improve support for Canary Islands by @villfa in #40
Laravel 12.x Compatibility by @laravel-shift in #38
[3.x] Add support for the Canary Islands by @axlon in #36
Full Changelog: v3.6.0...v3.7.0
Laravel 11.x Compatibility by @laravel-shift in #34
Updated patterns for BH and NL by @axlon in ebd1c7d
- Add support for Laravel 10
- Add support for Laravel 9
Update Cambodia validation pattern
Fixed validation passing prematurely if postal_code_for or postal_code_with only referenced fields in an array
postal_code_for or postal_code_with only referenced fields in an arrayFixed validation getting bypassed on postal_code_for and postal_code_with when only some referenced fields were present
postal_code_for and postal_code_with when only some referenced fields were presentDeprecated the postal_code_for rule
Fixed error when validation receives null
- Added support for Laravel 8
Dropped support for PHP 7.1 (breaking change)
Axlon\PostalCodeValidation\Validator to Axlon\PostalCodeValidation\PostalCodeValidator and changed its methods (breaking change)Update Taiwan validation pattern
- Added support for Laravel 7
Fixed validation of countries with complex patterns #13
- Added support for Laravel 6
Updated postal_code rule, which longer accepts references to request parameters as arguments (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)Fixed replacer being empty if empty input was passed
Added error message replacer for :countries and :formats placeholders
:countries and :formats placeholdersLowered PHP requirement from 7.1.3 to 7.1.0
Increased minimum required PHP version from 7.0.0 to 7.1.3
Fixed an error when null was passed to the validator
Other fields in the request can now be used as country code to check against
Fixed PHPUnit issues on older versions of Laravel
Country codes are no longer case sensitive
- Initial release
Your coding agent can read these notes before it upgrades. Set up the MCP server →