waarneembemiddeling/bigregister-soap
Composer 安装命令:
composer require waarneembemiddeling/bigregister-soap
包简介
php 8.0+ implementation of the Dutch BIG Register SOAP interface
README 文档
README
This is a lightweight implementation of the BIG register Soap interface.. A mapping of all the Soap types is provided.
Installation
Start by installing composer. Then, install this library:
$ php composer.phar require "waarneembemiddeling/bigregister-soap"
Requirements
PHP 8.0 and ext-soap
Usage
Most users will be satisfied by using the Service class provided. The service class parses the response
into php arrays and transforms all ids into readable values.
Perform a search with the service
<?php // Will return only one or none result $service = new Wb\BigRegister\SoapClient\Service(); print_r($service->findByRegistrationNumber('19023424101'));
Search by name and city
<?php // Will return only one or none result $service = new Wb\BigRegister\SoapClient\Service(); print_r($service->findByLastnameAndCity('Janssen', 'Amsterdam'));
Usage of the Client
For power users who just want to use the raw unaltered response we offer the possibility to use the Client.
Creating a new instance is as simple as:
<?php $client = new \Wb\BigRegister\SoapClient\Client();
Perform a search with the client
Search on a number:
<?php $client = new \Wb\BigRegister\SoapClient\Client(); $request = new \Wb\BigRegister\SoapClient\Model\ListHcpApproxRequest(); $request->RegistrationNumber = '123'; $response = $client->ListHcpApprox4($request); // dump the response print_r($response);
Overriding the constructor of the native SoapClient
We're using the native php SoapClient. If you want to change the WSDL (f.e. if you want to use the demo environment) or want to override the options in order to debug the client you can do so:
<?php $wsdl = 'http://host.tld/myWsdl'; $options = array( 'trace' => true ); $client = new \Wb\BigRegister\SoapClient\Client($wsdl, $options);
For more information about the native client check php.net.
waarneembemiddeling/bigregister-soap 适用场景与选型建议
waarneembemiddeling/bigregister-soap 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 58.23k 次下载、GitHub Stars 达 12, 最近一次更新时间为 2014 年 05 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「BIG register」 「BIG-register」 「BIG-nummer」 「bigregister.nl」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 waarneembemiddeling/bigregister-soap 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 waarneembemiddeling/bigregister-soap 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 waarneembemiddeling/bigregister-soap 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Rinvex Authy is a simple wrapper for Authy TOTP, the best rated Two-Factor Authentication service for consumers, simplest 2fa Rest API for developers and a strong authentication platform for the enterprise.
This package provides a generic registry class to register any type of data under a identifier (key/value).
Safe number conversion between arbitrary bases.
Symfony2 bundle intergrating the Dutch BIG-Register SOAP client
Uniondrug Register Client Component for uniondrug/framework
Hej! is a simple authentication boilerplate for Socialite.
统计信息
- 总下载量: 58.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 13
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-05-19