verschoof/transip-api-bundle

TransIp API bundle

Installs: 345

Dependents: 0

Stars: 1

Watchers: 1

Forks: 1

Language: PHP

v1.2.2 2014-05-11 18:28 UTC

README

A Symfony2 bundle for the TransIP API

Installation

Edit your composer.json

"require": {
  ...
  "verschoof/transip-api-bundle": "1.1.*"
}

Register bunle in AppKernel

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

Run composer update verschoof/transip-api-bundle

Configuration

#app/config/config.yml
transip_api:
    login       : "%transip_login%"
    private_key : "%transip_privatekey%"
    read_only   : "%transip_readonly%"
#parameters.yml
parameters:
     transip_login:      yourusername
     transip_privatekey: "yourkey"
     transip_readonly:   true

Info: privatekey is a multiline key from transip, just remove the breaks to create a one-liner