PHP code example of besrourms / tui-php

1. Go to this page and download the library: Download besrourms/tui-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

besrourms / tui-php example snippets


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";
}
bash
composer