PHPackages                             fisss-apprentice/ulntools - 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. fisss-apprentice/ulntools

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

fisss-apprentice/ulntools
=========================

a method to validate ULN numbers as per specification published by UK gov

05.1k↓50%PHP

Since May 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/FISSS-Apprentice/ulnTools)[ Packagist](https://packagist.org/packages/fisss-apprentice/ulntools)[ RSS](/packages/fisss-apprentice-ulntools/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ulnTools
========

[](#ulntools)

ULN (Unique Learner Number) tools to validate a uln as per the specification at [https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment\_data/file/710270/ULN\_validation.pdf](https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/710270/ULN_validation.pdf)

The validator first checks if the ULN is in the correct format then calculates the checksum.

Usage:

install with composer

```
composer require fisss-apprentice/ulntools

```

then use in a file

```
