php-extended / php-api-fr-insee-catjur-object
This library is an implementation of the php-extended/php-api-fr-insee-catjur-interface library
6.2.0
2023-09-27 19:49 UTC
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2023-11-27 20:24:18 UTC
README
This library is an implementation of the php-extended/php-api-fr-insee-catjur-interface library.
A library that makes insee Nomenclature des Activités Françaises (catjur) available as objects to populate a database. History is available at the url : https://www.insee.fr/fr/information/2028129.
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.phar
from their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-api-fr-insee-catjur-object ^6
Basic Usage
You may use this library the following way :
use PhpExtended\Insee\InseeJuridicCategoryEndpoint;
$endpoint = new InseeJuridicCategoryEndpoint();
$n1 = $endpoint->getJuridicCategoryLv1Iterator(); // returns iterator of InseeJuridicCategoryLv1 objects
$n2 = $endpoint->getJuridicCategoryLv2Iterator(); // returns iterator of InseeJuridicCategoryLv2 objects
$n3 = $endpoint->getJuridicCategoryLv3Iterator(); // returns iterator of InseeJuridicCategoryLv3 objects
License
The code is under MIT (See license file).