php-extended/php-api-fr-insee-catjur-object

This library is an implementation of the php-extended/php-api-fr-insee-catjur-interface library


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.

coverage build status

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 ^7

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