2017 © Pedro Peláez
 

library sdk-whmcs

image

perryfaro/sdk-whmcs

  • Thursday, January 21, 2016
  • by perryfaro
  • Repository
  • 3 Watchers
  • 2 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

WHMCS SDK (unofficial)

Installation

The WHMCS SDK can be installed with Composer. Run this command:, (*1)

composer require perryfaro/sdk-whmcs

Usage

setup Authentication

$authentication = new Whmcs\Authentication\Authentication;
$authentication->setUrl('https://www.example.com/');
$authentication->setPassword('password');
$authentication->setUsername('username');

Making a request

Below you will see three ways of making a request., (*2)

Option 1:, (*3)

$class = new Whmcs\Whmcs($authentication);
$class->client()->getClients()->request();

Option 2:, (*4)

$class = new Whmcs\Client\Client($authentication);
$class->getClients()->request();

Option 3:, (*5)

$class = new Whmcs\Client\Options\GetClients($authentication);
$class->request();

The Versions

21/01 2016

dev-master

9999999-dev

  Sources   Download

The Requires

 

21/01 2016

0.1

0.1.0.0

  Sources   Download

The Requires