laravel-postal-code-validation
laravel-postal-code-validation copied to clipboard
Allow overriding examples
Description
The package provides an override option to replace the default regex patterns for postal code validation. However, it does not allow overriding the example postal codes. As a result, when a regex is overridden for a specific country, the displayed example may become incorrect.
Example
It could work something like this:
PostalCodes::overrideExamples([ 'LV' => '1234' ]);