postcode icon indicating copy to clipboard operation
postcode copied to clipboard

A PHP library to validate and format postcodes

Results 5 postcode issues
Sort by recently updated
recently updated
newest added

Simple interface applied to all exceptions, allowing code such as: ```php ... use Brick\Postcode\PostcodeException; try { $postcodeFormatter->format('GB', $invalidPostcode); } catch (PostcodeException $e) { throw new ApplicationSpecificException( sprintf('There was a problem...

Updated the postal code validation regex to enforce the specific structure of French postal codes. The new regex ensures that the first two digits fall within the valid ranges (01–95...

Hi Ben, as discussed in the previous [PR 13](https://github.com/brick/postcode/pull/13#discussion_r1775012796), i hereby present a new PR to make testing use the global postcode formatter. A few things to note: 1. Because...

Hello, I don't know if it's an issue or not... For example, I think the following address is correct : 97839 LE TAMPON CEDEX, LA REUNION the actual code give...

I think it will be a great addition to add a method to extract a helpful text from the formatter, so if the library is used in some application to...