inteleon/decidas-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

inteleon/decidas-client

最新稳定版本:v1.0.2

Composer 安装命令:

composer require inteleon/decidas-client

包简介

Decidas Client

README 文档

README

For making requests to Decidas webservice. This package is currently build only for looking up person data by a personnummer. You need an account for Decidas and a product configured for this (ConfigID).

You should read the manual for the webservice to have a basic understanding of how it works.

Person data by personnummer

Get person data for a swedish personnummer.

//Create client
$username = ''; //Decidas username
$password = ''; //Decidas password
$connect_timeout = 5000; //Connect timeout in ms
$timeout = 5000; //Timeout in ms
$connect_attempts = 1; //Reconnect attempts if connection is failed
$verify_certificate = true; //Verify the SSL certificate
$cache_wsdl = true; //Cache the WSDL file
$decidas = new \Inteleon\Decidas\Client($username, $password, $connect_timeout, $timeout, $connect_attempts, $verify_certificate, $cache_wsdl);

//Person search
$confignr = ''; //Decidas Config number/id
$personnr = ''; //Personnummer
$person = $decidas->personSearch($personnr, $confignr);

If a person is found $person is an array with the keys: [PersonNr, LastName, FirstName, GivenName, AddressCo, AddressFo, AddressStreet, AddressZip, AddressCity]

If no person is found $person is false

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 19
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-09