waarneembemiddeling/bigregister-bundle

Symfony2 bundle intergrating the Dutch BIG-Register SOAP client

4.1.0 2022-11-29 20:04 UTC

This package is not auto-updated.

Last update: 2024-05-01 02:03:00 UTC


README

Scrutinizer Code Quality

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.