uvinum/zipcodevalidator

Library to validate worldwide zipcodes

1.0.1 2019-05-29 16:06 UTC

This package is auto-updated.

Last update: 2024-04-29 03:44:16 UTC


README

Latest Stable Version License Build Status Total Downloads

A PHP library that provides zip code validation for many countries. Ready for production use.

Prerequisites

PHP >= 5.4

Install

Via Composer

$ composer require uvinum/zipcodevalidator

Usage

<?php
$zip_code_validator = new Validator();
$zip_code_validator->validate($a_country_iso_code, $a_zip_code);

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Acknowledgments

Security

If you discover any security related issues, please email developers at uvinum.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.