waarneembemiddeling / bigregister-bundle
Symfony2 bundle intergrating the Dutch BIG-Register SOAP client
Package info
github.com/waarneembemiddeling/bigregister-bundle
pkg:composer/waarneembemiddeling/bigregister-bundle
4.1.0
2022-11-29 20:04 UTC
Requires
README
This bundle integrates the BIG-register SOAP client.
Configuration
There is no configration required by default.
Change the WSDL
If you want to override the WSDL:
wb_big_register:
wsdl: http://comapny.tld/soap?wsdl
Use DoctrineCacheBundle or LiipDoctrineCacheBundle
You can easily pass in a Cache instance:
wb_big_register:
cache:
service_id: liip_doctrine_cache.ns.your_cache_id
ttl: 86400
Overriding native SoapClient constructor configuration options
In case you want to tweak the behaviour of the native SoapClient, you override the $options array like this:
parameters:
wb_big_register.client.user_params: {'trace': true}
Usage
To get the service from the container:
$service = $container->get('wb_big_register.service');
To get the client:
$service = $container->get('wb_big_register.client');
For more examples checkout the client documentation.