承接 governmentplates/uk-national-insurance-validator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

governmentplates/uk-national-insurance-validator

最新稳定版本:1.0.0

Composer 安装命令:

composer require governmentplates/uk-national-insurance-validator

包简介

A simple and fast UK National Insurance Number Validator

README 文档

README

A simple and fast UK National Insurance (N.I.) Number Validator.

License Dependents

Installation

composer require governmentplates/uk-national-insurance-validator

Requirements: PHP 7 or newer.

Usage

<?php

use NIValidator\NationalInsurance;

$ni = new NationalInsurance('QQ123456C');
$ni->validate();

//validate() returns true if a given number is valid, or false otherwise.

How does it validate a N.I number?

This simple validator follows the logical rules for UK N.I. number formats, as seen in the HMRC Insurance Manual.

Is this safe? Is this going to leak my/or my users N.I. numbers?

Feel free to check the source code (located in the src/ directory).

License

GNU General Public License v3.0.

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2022-09-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固