2017 © Pedro Peláez
 

library php-dynect-api-rest

REST API client for Dynect

image

m4tthumphrey/php-dynect-api-rest

REST API client for Dynect

  • Monday, July 29, 2013
  • by m4tthumphrey
  • Repository
  • 1 Watchers
  • 1 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 5 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

php-dynect-api-rest

PHP wrapper for v2 of the Dynect API. This is very much a work in progress, do not use in production., (*1)

Foreword

I no longer have access to a Dynect account so will be unable to maintain this library until further notice. If anyone wishes to continue please contact me and I can transfer or add you onto the repo., (*2)

Installation

Install Composer, (*3)

$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer

Add the following to your require block in composer.json config:, (*4)

"m4tthumphrey/php-dynect-api-rest": "dev-master"

Include Composer's autoloader:, (*5)

require_once dirname(__DIR__).'/vendor/autoload.php';

Usage

try {
    $client = new Dynect\Client();
    $response = $client->api('session')->login('company_name', 'username', 'password');

    print_r($response);

    /*
    Array
    (
        [token] => ...
        [version] => 3.4.0
    )
    */
} catch (Exception $e) {
    echo '

Error!

'.$e->getMessage().', (*6)

'; }

The Versions

29/07 2013

dev-master

9999999-dev https://github.com/m4tthumphrey/php-dynect-api-rest

REST API client for Dynect

  Sources   Download

MIT

The Requires

 

api dns dynect

20/06 2013

dev-tests

dev-tests https://github.com/m4tthumphrey/php-dynect-api-rest

REST API client for Dynect

  Sources   Download

MIT

The Requires

 

api dns dynect

20/06 2013

dev-develop

dev-develop https://github.com/m4tthumphrey/php-dynect-api-rest

REST API client for Dynect

  Sources   Download

MIT

The Requires

 

api dns dynect

20/06 2013

0.1.4

0.1.4.0 https://github.com/m4tthumphrey/php-dynect-api-rest

REST API client for Dynect

  Sources   Download

MIT

The Requires

 

api dns dynect

20/06 2013

0.1.3

0.1.3.0 https://github.com/m4tthumphrey/php-dynect-api-rest

REST API client for Dynect

  Sources   Download

MIT

The Requires

 

api dns dynect

19/06 2013

0.1.2

0.1.2.0 https://github.com/m4tthumphrey/php-dynect-api-rest

REST API client for Dynect

  Sources   Download

MIT

The Requires

 

api dns dynect

19/06 2013

0.1.1

0.1.1.0 https://github.com/m4tthumphrey/php-dynect-api-rest

REST API client for Dynect

  Sources   Download

MIT

The Requires

 

api dns dynect

12/06 2013

0.1.0

0.1.0.0 https://github.com/m4tthumphrey/php-dynect-api-rest

REST API client for Dynect

  Sources   Download

MIT

The Requires

 

api dns dynect