NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #3085 most downloaded on Packagist
A library to format and validate postcodes
Last release 2 months ago
29 Jul 2026
Release timing varies
gaps range from 2 weeks to 1.3 years
Some releases are documented
notes for 10 of 21 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
21 releases · first in 2017
Allow postcodes above 984 99 in Sweden ( #24 by @cx18121 )
Support for 4-digit postcodes in Lebanon (LB)
✨ Improvements
One column per quarter.
Exceptions have been moved to Brick\Postcode\Exception
💥 Breaking changes
8.2Brick\Postcode\Exception✨ New features
PostcodeException class✨ Improvements
RuntimeException💥 Breaking changes Minimum PHP version is now 8.1
💥 Breaking changes
8.1Netherlands postcodes cannot start with 0 ( #18 ) - thanks to @RoodFruit
✨ Improvements
0 (#18) - thanks to @RoodFruitInvalidPostcodeException now has getPostcode() and getCountry() methods
💥 Breaking changes
final✨ New features
InvalidPostcodeException now has getPostcode() and getCountry() methods (#13)UnknownCountryException now has a getCountry() method (#13)✨ Improvements
AT, BE and LU formatters now accept (and strip) a leading A/ B/L letter (#13)Thanks to @rubentebogt!
Exclude Austrian postal codes starting with 0 ( #15 ) - thanks to @weswaldix
✨ Improvements
0 (#15) - thanks to @weswaldixSupport for 7-digit postal codes in Egypt ( #14 ) - thanks to @faustbrian
✨ New features
Formatter for IC (Canary Islands) ( #12 ) - thanks to @mpesari
Minimum PHP version is now 7.4 . No breaking changes.
Minimum PHP version is now 7.4. No breaking changes.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →