2017 © Pedro Peláez
 

library gandi-sdk

PHP sdk to communicate with the Gandi API

image

nexylan/gandi-sdk

PHP sdk to communicate with the Gandi API

  • Wednesday, January 17, 2018
  • by Soullivaneuh
  • Repository
  • 4 Watchers
  • 1 Stars
  • 3,670 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 7 Versions
  • 38 % Grown

The README.md

Gandi SDK

Gandi API PHP SDK., (*1)

Latest Stable Version Latest Unstable Version License, (*2)

Total Downloads Monthly Downloads Daily Downloads, (*3)

Documentation

All the installation and usage instructions are located in this README. Check it for a specific versions:, (*4)

Installation

First of all, you need to require this library through Composer:, (*5)

``` bash composer require nexylan/gandi-sdk, (*6)


With Symfony: Enable the bundle on the `AppKernel` class: ```php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Nexy\Gandi\Bridge\Symfony\Bundle\NexyGandiBundle(), ); // ... return $bundles }

Configuration

Configure the bundle to your needs:, (*7)

# parameters.yml
parameters:
    # Change to https://rpc.gandi.net/xmlrpc/ in prod
    gandi_api_url: https://rpc.ote.gandi.net/xmlrpc/
# config.yml
nexy_gandi:
    api_url: %gandi_api_url%
    api_key: 'yourApiKey'

Usage

Use the predefined methods and/or use Gandi methods directly, (*8)

$gandi = new Gandi('api_url', 'api_key');

$result = $gandi->setup()->domain->info('mydomain.net');

// Results
// [
//     status => [
//         0 => clientTransferProhibited
//     ]
//     zone_id => 42
//     fqdn => mydomain.net
//     // ...
// ]

The Versions

17/01 2018

dev-master

9999999-dev

PHP sdk to communicate with the Gandi API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jérôme Pogeant

api symfony gandi

16/01 2018

v0.3.1

0.3.1.0

PHP sdk to communicate with the Gandi API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jérôme Pogeant

api symfony gandi

07/12 2017

v0.3.0

0.3.0.0

PHP sdk to communicate with the Gandi API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jérôme Pogeant

api symfony gandi

22/11 2017

v0.2.2

0.2.2.0

PHP sdk to communicate with the Gandi API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jérôme Pogeant

api symfony gandi

12/10 2017

v0.2.1

0.2.1.0

PHP sdk to communicate with the Gandi API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jérôme Pogeant

api symfony gandi

12/10 2017

v0.2.0

0.2.0.0

PHP sdk to communicate with the Gandi API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jérôme Pogeant

api symfony gandi

11/10 2017

v0.1.0

0.1.0.0

PHP sdk to communicate with the Gandi API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jérôme Pogeant

api symfony gandi