No description
Find a file
2020-05-24 12:16:18 -05:00
modules/addons/addonmodule Provide example of using default values in config function 2019-01-02 18:30:14 +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.json Add whmcs.json 2020-05-24 12:16:18 -05: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