marcoboom/voertuigdata 问题修复 & 功能扩展

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

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

marcoboom/voertuigdata

最新稳定版本:1.0

Composer 安装命令:

composer require marcoboom/voertuigdata

包简介

PHP Wrapper for the Voertuidata.nl SOAP webservice

README 文档

README

PHP Wrapper for the Voertuigdata.nl SOAP webservice

Installation and Requirements

First, you'll need to require the package with Composer:

$ composer require marcoboom/voertuigdata

This package requires PHP 5.4 with SOAP installed

Usage

First, create an Instance of the Voertuigdata class

$vd = new Voertuigdata\Voertuigdata('username', 'password');

Replace username and password with the given account.

Optional you can pass as third argument, an options array:

$options = [
	'environment' 	=> 	'production',
	'cache_wsdl' 	=> 	WSDL_CACHE_NONE
];

If the environment option is not passed through. The class wil search for an ENVIRONMENT constant. If this is not equal to production, the testing environment of Voertuigdata will be used.

Calls

Within the instance you can call a method from the webservice, defined at http://www.voertuigdata.nl/soap/voertuigservice.asmx. The parameters of the method should be send through by an array.

Each method returns the raw object given by the webservice.

If the call failes it throws a VoertuigdataException.

try {
	$result = $vd->getPersonenautoInformatieMiddelsKenteken(['Kenteken'=>'56RPFV']);

	var_dump($result);

} catch (Voertuigdata\VoertuigdataException $e) {

	var_dump($e->getMessage());

}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固