定制 kristiani/cvrapi 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

kristiani/cvrapi

最新稳定版本:1.0

Composer 安装命令:

composer require kristiani/cvrapi

包简介

CVR API package

README 文档

README

Packagist Downloads Code size Build Status

CVR API

Easily look up companies in the danish CVR database using the CVRAPI.dk API.

Supports tokens.

Installation

composer require kristiani/cvrapi

Usage

// Get by VAT number
$result = \Cvrapi\Cvrapi::get('29910251', 'dk', 'Description of my project');

// Get by P-number
$result = \Cvrapi\Cvrapi::get('1012697712', 'dk', 'Description of my project');

// Get by company name
$result = \Cvrapi\Cvrapi::get('I/S Just Iversen', 'dk', 'Description of my project');

// Get company by searching specifically in the VAT field
$result = \Cvrapi\Cvrapi::request('29910251', 'dk', 'vat', 'Description of my project');

// Get company by searching specifically in the P-number field
$result = \Cvrapi\Cvrapi::request('1012697712', 'dk', 'produ', 'Description of my project');

// Get company by searching specifically in the company name field
$result = \Cvrapi\Cvrapi::request('I/S Just Iversen', 'dk', 'name', 'Description of my project');

// Get company by searching specifically in the phone number field
$result = \Cvrapi\Cvrapi::request('61401169', 'dk', 'phone', 'Description of my project');

// Get company using 'get' with token
$result = \Cvrapi\Cvrapi::get('29910251', 'dk', 'Description of my project', 'secret-token');

// Get company using 'request' with token
$result = \Cvrapi\Cvrapi::request('61401169', 'dk', 'phone', 'Description of my project', 'secret-token');

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-10-20