Skip to content

curlysanders/transip-api-bundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transip-api-bundle

A Symfony2 bundle for the TransIP API

Installation

Run the following command

composer require dopee/transip-api-bundle

Register bundle in AppKernel

#app/AppKernel.php
$bundles = array(
  ...
  new Dopee\TransipApiBundle\TransipApiBundle()
);

Configuration

#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

About

A Symfony2 bundle for the TransIP API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%