Go to file
Peter.Bishop 6bf39b0777 Update Sample Addon Module
*Remove references to deprecated MySQL helper functions
* Add Capsule queries as documented in https://developers.whmcs.com/advanced/db-interaction/
* Update inline comments
2018-12-19 16:17:31 +00:00
modules/addons/addonmodule Update Sample Addon Module 2018-12-19 16:17:31 +00:00
tests Initial commit 2017-01-03 09:14:27 +00:00
.gitignore Initial commit 2017-01-03 09:14:27 +00:00
composer.json Initial commit 2017-01-03 09:14:27 +00:00
LICENSE Initial commit 2017-01-03 09:14:27 +00:00
phpunit.xml.dist Initial commit 2017-01-03 09:14:27 +00:00
README.md Initial commit 2017-01-03 09:14:27 +00:00

WHMCS Sample Addon Module

Summary

An addon module allows you to add additional functionality to WHMCS. It can provide both client and admin facing user interfaces, as well as utilise hook functionality within WHMCS.

This sample file demonstrates how an addon module for WHMCS should be structured and exercises all supported functionality.

For more information, please refer to the online documentation at https://developers.whmcs.com/addon-modules/

The recommended structure of an addon module is as follows.

 addonmodule/
  |- lang/
  |- lib/
  |- templates/
  |  addonmodule.php
  |  hooks.php
  |  logo.png

Minimum Requirements

For the latest WHMCS minimum system requirements, please refer to http://docs.whmcs.com/System_Requirements

We recommend your module follows the same minimum requirements wherever possible.

Tests

We strongly encourage you to write unit tests for your work. Within this SDK we provide a sample unit test based upon the widely used PHPUnit.

Useful Resources

WHMCS Limited