PHPackages                             jasonloeve/silverstripe-nhi-validator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. jasonloeve/silverstripe-nhi-validator

ActiveSilverstripe-vendormodule[Validation &amp; Sanitization](/categories/validation)

jasonloeve/silverstripe-nhi-validator
=====================================

NHI validator field for Silverstripe CMS.

00PHP

Since Aug 19Pushed 2y ago2 watchersCompare

[ Source](https://github.com/jasonloeve/silverstripe-nhi-validator)[ Packagist](https://packagist.org/packages/jasonloeve/silverstripe-nhi-validator)[ RSS](/packages/jasonloeve-silverstripe-nhi-validator/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

silverstripe-nhi-validator
==========================

[](#silverstripe-nhi-validator)

The SilverStripe NHI Validator module is a valuable extension for SilverStripe CMS, designed to enhance the validation process of NHI (National Health Index) numbers. This module provides a convenient validator input field that can be seamlessly integrated into both the CMS and the frontend of your website or web application.

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

Features
--------

[](#features)

1. ***NHI Number Validation:*** The module enables you to validate NHI numbers, ensuring their accuracy and compliance with current and upcoming NHI format standards.
2. ***Effortless Integration:*** Easily incorporate the NHI validator input field into your SilverStripe CMS, allowing for streamlined validation of NHI numbers within your content management system.
3. ***User-Friendly Frontend Validation:*** Extend the validation functionality to the frontend of your website or web application, providing a seamless user experience by ensuring the correctness of NHI numbers entered by users.
4. ***Improved Data Integrity:*** With the NHI Validator module, you can eliminate the need for manual validation processes, reducing the risk of data errors and improving overall data integrity.

Requirements
------------

[](#requirements)

PHP 8
SilverStripe Framework 4 / 5

Installation
------------

[](#installation)

Install using composer

```
composer require jasonloeve/silverstripe-nhi-validator
```

Usage
-----

[](#usage)

### Admin dataObject field

[](#admin-dataobject-field)

To add NHI number validation to a DataObject, which can then be manipulated in the SilverStripe admin:

```
