beastbytes/postal-code-validator
最新稳定版本:1.0.0
Composer 安装命令:
composer require beastbytes/postal-code-validator
包简介
Postal code validator
关键字:
README 文档
README
Provides validation for postal codes.
Postal codes can be validated against a single country or a list of countries.
A postalCodeDataInterface implementation is also required, e.g. beastbytes/postal-code-data-php
NOTE: postal-code-validator does not guarantee that a postal code exists only that it is in a valid format. For some countries that is - for example - it has the right number of digits, characters in the right place etc. However, for many the validator also checks that disallowed characters are not used, number ranges are correct, etc. If you can improve validation for a country please submit a pull request.
For license information see the LICENSE file.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist beastbytes/postal-code-validator
or add
"beastbytes/postal-code-validator": "^1.0.0"
to the "require" section of your composer.json.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2023-02-04