php-extended / php-siret-object
Installs: 35
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/php-extended/php-siret-object
Requires
Requires (Dev)
README
A library that implements the php-extended/php-siret-interface interface library.
Installation
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
- Download
composer.pharfrom their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-siret-object ^8
Basic Usage
You may use this library this following way:
use PhpExtended\Siret\SiretParser;
$parser = new SiretParser();
$siret = $parser->parse('11004301500012');
// $siret instanceof \PhpExtended\Siret\Siret
The same process is usable with the Siren class.
License
MIT (See license file).