A Symfony2 bundle for the TransIP API
Run the following command
composer require dopee/transip-api-bundle
Register bundle in AppKernel
#app/AppKernel.php
$bundles = array(
...
new Dopee\TransipApiBundle\TransipApiBundle()
);
#app/config/config.yml
transip_api:
login : "%transip_login%"
private_key : "%transip_privatekey%"
read_only : "%transip_readonly%"
endpoint : "%transip_endpoint%"
#parameters.yml
parameters:
transip_login: yourusername
transip_privatekey: "yourkey"
transip_readonly: true
transip_endpoint: 'https://api.transip.nl'
Info: privatekey is a multiline key from transip, just remove the breaks to create a one-liner