axlon/laravel-postal-code-validation
Worldwide postal code validation for Laravel and Lumen
v3.10.0
3.8M downloads/mo
#2297 most downloaded on Packagist
axlon/laravel-postal-code-validation
What this package is like to depend on
Last release 14 days 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
4 releases in the last 12 months
see the full history below
Release timeline
31 releases · Dec 2018 to Aug 2026
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 31-
v3.10.009 Aug 2026Release notes
Open source →What's Changed
- Update AR, EG, PY, SV, TT validation pattern in 65ca74e
Full Changelog: v3.9.1...3.10.0
Release notes
Open source →- Update Argentine validation pattern
- Update Egyptian validation pattern
- Update Paraguayan validation pattern
- Update Salvadoran validation pattern
- Update Trinidadian validation pattern
-
v3.9.105 Jun 2026Release notes
Open source →What's Changed
- Bump actions/checkout from 2 to 6.0.2 by @dependabot[bot] in #43
- Add attribution to generated resources in bbd1cf6
- Fix
TypeErrorwhen value is not a string or null in 57c84b2
New Contributors
- @dependabot[bot] made their first contribution in #43
Full Changelog: v3.9.0...v3.9.1
Release notes
Open source →- Fix
TypeErrorwhen value is not a string or null - Add attribution to generated resources
-
v3.9.020 Mar 2026Release notes
Open source →What's Changed
- Laravel 13 support by @Luke-Shepp in #42
New Contributors
- @Luke-Shepp made their first contribution in #42
Full Changelog: v3.8.1...v3.9.0
-
v3.8.115 Nov 2025 -
v3.8.025 Feb 2025Release notes
Open source → -
v3.7.010 Sep 2024 -
v3.6.012 Mar 2024Release notes
Open source → -
v3.5.024 Jan 2024 -
v3.4.015 Feb 2023 -
v3.3.008 Feb 2022 -
v3.2.115 Dec 2020 -
v3.2.027 Nov 2020Release notes
Open source →- Added support for PHP 8
- Fixed validation passing prematurely if
postal_code_fororpostal_code_withonly referenced fields in an array
-
v3.1.307 Nov 2020Release notes
Open source →- Fixed validation getting bypassed on
postal_code_forandpostal_code_withwhen only some referenced fields were present
- Fixed validation getting bypassed on
-
v3.1.225 Oct 2020Release notes
Open source →- Fixed postal_code_for rule failing when none of the referenced fields were present
- Deprecated the postal_code_for rule
- Added postal_code_with rule, which is a drop-in replacement for postal_code_for
- Added deprecation warnings for upcoming 4.0 release
-
v3.1.129 Sep 2020 -
v3.1.009 Sep 2020 -
v3.0.031 Aug 2020Release notes
Open source →- Dropped support for PHP 7.1 (breaking change)
- Dropped support for Laravel 5.1 - 5.4 (breaking change)
- Added support for manually overriding validation patterns
- Added exceptions when no arguments are passed to the validation rules (breaking change)
- Added PostalCodes facade
- Renamed
Axlon\PostalCodeValidation\ValidatortoAxlon\PostalCodeValidation\PostalCodeValidatorand changed its methods (breaking change)
-
v2.1.116 Aug 2020 -
v2.1.004 Mar 2020 -
v2.0.203 Mar 2020Release notes
Open source →- Fixed validation of countries with complex patterns #13
- Fixed rules not being loaded if the validator was resolved before the service provider was called
- Fixed format generator (dev-only)
-
v2.0.107 Sep 2019 -
v2.0.006 Jul 2019Release notes
Open source →- Updated
postal_coderule, which longer accepts references to request parameters as arguments (breaking change) - Updated fluent API methods (breaking change)
- Removed
:formatserror message placeholder (breaking change) - Replaced the validation engine with an internal engine based on Google's Address Data Service (potentially breaking change)
- Added
postal_code_forrule, which accepts references to request parameters as arguments - Added
:exampleserror message placeholder - Added support for referencing request parameters inside an array (for example
addresses.*.country) - Added support for referencing request variables while using a custom validator class
- Updated
-
v1.4.127 Apr 2019 -
v1.4.013 Apr 2019 -
v1.3.104 Apr 2019Release notes
Open source →- Lowered PHP requirement from 7.1.3 to 7.1.0
- Removed exception thrown when an invalid country is passed, instead validation now fails
-
v1.3.027 Feb 2019Release notes
Open source →- Added Laravel 5.8 support
- Removed Laravel 5.0 support
- Increased minimum required PHP version from 7.0.0 to 7.1.3
-
v1.2.111 Feb 2019Release notes
Open source →- Fixed an error when null was passed to the validator
- Added doc blocks
- Added Scrutinizer and StyleCI integration
-
v1.2.029 Dec 2018Release notes
Open source →- Other fields in the request can now be used as country code to check against
- Removed useless files from dist
-
v1.1.127 Dec 2018 -
v1.1.027 Dec 2018Release notes
Open source →- Country codes are no longer case sensitive
- Documentation improvements
- Minor code improvements
-
v1.0.007 Dec 2018