PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (4 days ago) RSS 2.0 feedNot enough user ratingsTotal: 313 All time: 7,263 This week: 108Up
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  
Name: Craig Smith <contact>
Classes: 5 packages by
Country: New Zealand New Zealand

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  
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

  Files folder image Files  /  Whmcs  
File Role Description
  Plain text file Api.php Class Class source
  Plain text file Client.php Class Class source
  Plain text file Domain.php Class Class source
  Plain text file Exception.php Class Class source
  Plain text file Invoice.php Class Class source
  Plain text file Misc.php Class Class source
  Plain text file Module.php Class Class source
  Plain text file Order.php Class Class source
  Plain text file Quote.php Class Class source
  Plain text file Ticket.php Class Class source
  Plain text file Whmcs.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:313
This week:0
All time:7,263
This week:108Up