aminnairi / siren
French SIREN number validator
0.1.0
2022-02-03 15:06 UTC
Requires (Dev)
- pestphp/pest: ^1.21
This package is not auto-updated.
Last update: 2024-11-09 02:41:27 UTC
README
French SIREN number validator
Installation
mkdir project
cd project
composer init
composer require aminnairi/siren
Usage
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)