2017 © Pedro Peláez
 

library whmcsl5

Laravel 5 WHMCS API

image

galamz/whmcsl5

Laravel 5 WHMCS API

  • Sunday, October 9, 2016
  • by galamz
  • Repository
  • 1 Watchers
  • 1 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

WHMCS API Laravel 5 Package (Development)

Laravel Source License, (*1)

Installation

Begin by installing the package through Composer. The best way to do this is through your terminal via Composer itself:, (*2)

composer require xuma/l5whmcs

or you can add your composer.json require section:, (*3)

"xuma/l5whmcs": "~1.0@dev"

Don't forget to update composer update., (*4)

Once this operation is complete, simply add both the service provider and facade classes to your project's config/app.php file:, (*5)

Config File

Create config/whmcs.php with content:, (*6)

    return [
        'url'=>'https://whmcsurl/includes/api.php',
        'username'=>'yourapiusername',
        'password'=>'yourapipassword',
        'user_agent'=>'Your Agent Name'
    ];

Service Provider

'Xuma\Whmcs\WhmcsServiceProvider',

Facade

'WHMCS'=> 'Xuma\Whmcs\Facades\Whmcs',

Examples

Getting all clients., (*7)

WHMCS::getClients();

Getting single client, (*8)

WHMCS::getClientsDetails($userIdOrEmail);

Getting clients products, (*9)

WHMCS::getClientsProducts($userId)

Getting clients domains, (*10)

WHMCS::getClientsDomains($userId)

Getting clients hashed password, (*11)

WHMCS::getClientsPassword($userId)

The Versions

09/10 2016

dev-master

9999999-dev

Laravel 5 WHMCS API

  Sources   Download

MIT

The Requires

 

by The GalaMz

laravel api whmcs