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

该库是 php-extended/php-api-fr-insee-catjur-interface 库的实现


README

此库是 php-extended/php-api-fr-insee-catjur-interface 库的实现。

一个库,可以将法国 INSEE 活动名称(catjur)作为对象提供,以便填充数据库。历史信息可在以下 URL 查找:https://www.insee.fr/fr/information/2028129

coverage build status

安装

此库的安装通过 composer 完成,且通过其自动加载器自动加载此库的所有类。

  • 他们的网站下载 composer.phar
  • 然后运行以下命令将此库作为依赖项安装:
  • php composer.phar php-extended/php-api-fr-insee-catjur-object ^7

基本用法

您可以使用以下方式使用此库


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

许可证