worksome/uk-tax-code-validator
最新稳定版本:v1.8.1
Composer 安装命令:
composer require worksome/uk-tax-code-validator
包简介
A package for validating tax codes in UK
README 文档
README
This package is for validating if a UK tax code is valid.
As there are many rules for when a UK tax code is valid, we needed a way to actually check this.
This package contains all the rules for validating if the UK tax code is a valid or not.
Usage
For validating a tax code, you can simply run the following
$engine = new Engine(); $response = $engine->validate($taxCode); $response->isValid();
Laravel
The package does also contain a validation rule to be used with Laravel.
Validator::make($data, [ 'tax_code' => ['required', new UkTaxCode(),], ])->fails();
统计信息
- 总下载量: 531.85k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-06-11