2017 © Pedro Peláez
 

library transip

The better TransIP API client.

image

hiddeco/transip

The better TransIP API client.

  • Thursday, June 28, 2018
  • by hiddeco
  • Repository
  • 2 Watchers
  • 17 Stars
  • 5,200 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 11 Versions
  • 9 % Grown

The README.md

TransIP

This library is an Object Oriented wrapper for the TransIP SOAP API (v5.6), which aims to provide a better and more structured client than the official TransIP API package, including extensive documentation., (*1)

TransIP SOAP client, (*2)

Installation

To use this library without running in to trouble you will need PHP 5.6+ or HHVM 3.6+ and Composer., (*3)

  1. Get the latest version of TransIP by adding the following line to your composer.json file "hiddeco/transip": "5.7.*", (*4)

  2. Run composer update or composer install, (*5)

Features

  • All TransIP services and methods available through one Client
  • Follows PSR-4 conventions and PSR-2 coding standards
  • Extensively documented

Usage

Basics

Using the Client

// Composer autoload
require_once 'vendor/autoload.php';

$client = new \TransIP\Client('username', 'privateKey');
$domainNames = $client->api('domain')->getDomainNames();

Setting the permission mode and endpoint

Although the permission mode and endpoint are configured by default as readonly and api.transip.nl, it is possible to change them according to your wishes., (*6)

Note: accepted permission modes are readonly and readwrite. Invalid permission mode will throw an \InvalidArgumentException., (*7)

$client = new \TransIP\Client('username', 'privateKey', 'readwrite', 'api.transip.nl');

// set permission mode on the run
try {
    $client->setMode('readonly');
} catch(\InvalidArgumentException $e) {
    echo $e->getMessage();
}

Catching \SoapFault

$client = new \TransIP\Client('username', 'privateKey');

try {
    $client->api('domain')->getDomainNames();
} catch(\SoapFault $e) {
    $echo $e->getMessage();
}

API documentation

For a full documentation on the available methods foreach API and how to use them take a look at the extensive docs., (*8)

Contributors

License

TransIP is licensed under The MIT License (MIT)., (*9)

The Versions

28/06 2018

dev-master

9999999-dev

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-soap *

 

The Development Requires

api php soap transip

28/06 2018

v5.7

5.7.0.0

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-soap *

 

The Development Requires

api php soap transip

03/01 2018

v5.6

5.6.0.0

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-soap *

 

The Development Requires

api php soap transip

31/08 2017

v5.5

5.5.0.0

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-soap *

 

The Development Requires

api php soap transip

17/02 2017

v5.4

5.4.0.0

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-soap *

 

The Development Requires

api php soap transip

27/01 2017

v5.3.3

5.3.3.0

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-soap *

 

The Development Requires

api php soap transip

19/01 2017

v5.3.2

5.3.2.0

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-soap *

 

The Development Requires

api php soap transip

02/01 2017

v5.3.1

5.3.1.0

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-soap *

 

The Development Requires

api php soap transip

24/03 2016

v5.3

5.3.0.0

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

api php soap transip

24/03 2016

v5.2

5.2.0.0

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

api php soap transip

15/08 2015

v0.1

0.1.0.0

The better TransIP API client.

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

api php soap transip