besrourms/tui-php

TUI (Tunisia's Unique Identifier) format validator

1.0 2022-12-11 16:02 UTC

This package is auto-updated.

Last update: 2024-09-12 18:14:50 UTC


README

PHP implementation for TUI.js (Tunisia’s Unique Identifier)

Installation

Use the dependancy mananger [composer] to install tui-php.

composer require besrourms/tui-php

Usage

use besrourms\Matricule\TUI;

$matricule = new TUI("1234567A");

if($matricule->isValid()){
	echo "Matricule valide";
}else{
	echo "Il y a un problème avec la matricule";
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.