| Install | |
|---|---|
composer require cline/postal-code |
|
| Latest Version: | 2.0.3 |
| PHP: | ^8.5.0 |
Postal Code is a Laravel package for validating and formatting postal codes across 180+ countries. It provides a fluent API with automatic normalization, country-specific formatting, and comprehensive exception handling.
This is a fork of brick/postcode by Benjamin Morel, adapted for Laravel with additional features and a fluent API.
Requires PHP 8.4+ and Laravel 12+
composer require cline/postal-code
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
The MIT License. Please see License File for more information.