French SIREN number validator
mkdir project
cd project
composer init
composer require aminnairi/siren
touch index.php
<?php
use Aminnairi\Siren\Siren;
require "./vendor/autoload.php";
var_dump(Siren::isValid("732829320"));
var_dump(Siren::isValid("732829321"));
php index.php
bool(true)
bool(false)