composer require laxcorp/billing-partner-bundle
$bundles = [
new LaxCorp\BillingPartnerBundle\BillingPartnerBundle(),
new Circle\RestClientBundle\CircleRestClientBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
];
And add in config.yaml
billing_partner:
url: 'https://billing.site:port'
login: 'billing_api_user'
password: 'billing_api_password'
circle_rest_client:
curl:
defaults:
CURLOPT_HTTPHEADER: [ "Content-Type: application/json" ]
CURLOPT_FOLLOWLOCATION: true
CURLOPT_SSL_VERIFYPEER: false
CURLOPT_SSL_VERIFYHOST: 0
CURLOPT_SSLVERSION: false
CURLOPT_CONNECTTIMEOUT: 3600