Integration bundle for risk checking services. The only implemented provider at the moment is DeltaVista.
"require" : {
// ...
"astina/solvency-bundle":"dev-master",
}
Enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Astina\Bundle\SolvencyBundle\AstinaSolvencyBundle(),
);
}
Add the WSDL url and DeltaVista credentials to your config.yml:
# app/config.yml
astina_solvency:
provider:
deltavista:
wsdl_url: http://example.org/path/to.wsdl
user: user
password: 123
endpoint_url: ~ # only needs to be set if another then the default one should be used (e.g. for testing)
Per default, all requests are cached as the risk check provider usually charges per request. Because of that we don't use the Symfony cache dir but a separate one. You can set the cache lifetime and dir in the config:
# app/config.yml
astina_solvency:
cache:
cache_dir: /my/cache/dir
lifetime: ~ # null means "forever"
How can I help you explore Laravel packages today?