PHP Classes

PHP WHMCS API Library: Manage hosting accounts using the WHMCS API

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 314 All time: 7,273 This week: 524Up
Version License PHP version Categories
whmcs 1.9BSD License5.3PHP 5, Libraries, Web services, Hosting
Description 

Author

This package can be used to manage hosting accounts using the WHMCS API.

It provides a base class that can send HTTP requests to the WHMCS API of hosting service to perform several operations to manage hosting accounts.

Currently it can manage hosting client accounts, manage registered domains, payment invoices, installed modules, customer orders, order quotes, trouble tickets, etc..

Picture of Craig Smith
  Performance   Level  

Details

# Whmcs Php Api SDK Whmcs Php Api SDK for the [WHMCS API](http://docs.whmcs.com/API:Functions). #Installation ##Composer Install Install composer in your project: curl -s https://getcomposer.org/installer | php Create a composer.json file in your project root: { "require": { "slim/slim": "2.*" } } Install via composer: php composer.phar install Add this line to your application’s index.php file: <?php require 'vendor/autoload.php'; ##Manual Install Download and extract into your project directory and require it in your application’s index.php file. You'll also need to register the autoloader. <?php require 'Whmcs/Whmcs.php'; \Whmcs\Whmcs::registerAutoloader(); ##System Requirements * PHP >= 5.3.0 * WHMCS 5 + * CURL ## Example Usage <?php \Whmcs\Client::init('http://example.com/includes/api.php', 'someusername', md5('somepass')); var_dump(\Whmcs\Client::getClientsDetails(array('clientid' => '1')));

  Files folder image Files (14)  
File Role Description
Files folder imageWhmcs (11 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:314
This week:0
All time:7,273
This week:524Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2389