php-extended / php-api-fr-insee-catjur-object
This library is an implementation of the php-extended/php-api-fr-insee-catjur-interface library
Requires
Requires (Dev)
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. The catjur is available at the url : https://www.insee.fr/fr/information/2120875.
Installation
The installation of this library is made via composer.
Download composer.phar
from their website.
Then add to your composer.json :
"require": {
...
"php-extended/php-api-fr-insee-catjur-object": "^3",
...
}
Then run php composer.phar update
to install this library.
The autoloading of all classes of this library is made through composer's autoloader.
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).