承接 kanta-inc/inpi-rne-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kanta-inc/inpi-rne-php

最新稳定版本:v0.1.5

Composer 安装命令:

composer require kanta-inc/inpi-rne-php

包简介

PHP library to access the INPI RNE API

README 文档

README

Build Status Latest Stable Version Total Downloads License PHP Version Require codecov

PHP library to access the INPI RNE (Registre National des Entreprises)

Description

Inpi RNE PHP is a PHP library to easily interact with RNE INPI API. It allow users to authenticate, get data about french companies with their identification number (siren number). This version is based on the INPI Documentation located in data folder of this repository

Requirements

PHP 8.1.0 and later.

Installation

Use Composer to install this package : composer require kanta-inc/inpi-rne-php

Usage

Here'is a fast example to get started. If you store your token outside you can directly inject as a parameter of the RNEClient Class. If you don't provide it you have to use the authenticate method providing your username and password. This will store the token inside the RNEClient Class. Then you can get your token back with the getToken method.

use RNEClient\RNEClient;

$client = new RNEClient('token');
$data = $client->searchBySiren('889924320');

// OR

$client = new RNEClient();
$client->authenticate('votre_username', 'votre_password');
$data = $client->searchBySiren('889924320');

Tests

To execute tests of the package : vendor/bin/phpunit

Authors

Kanta Inc

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-26