PHPackages                             nh314/whmcs-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. nh314/whmcs-helper

ActiveUtility[API Development](/categories/api)

nh314/whmcs-helper
==================

A Helper for sending requests to the WHMCS hosting management API.

061PHP

Since Mar 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/parobit/WHMCS-Helper)[ Packagist](https://packagist.org/packages/nh314/whmcs-helper)[ RSS](/packages/nh314-whmcs-helper/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WHMCS-Helper
============

[](#whmcs-helper)

This class can send requests to the WHMCS hosting management API.

It can send HTTP requests to the WHMCS API to perform arbitrary types of operations supported by the API.

The class can send requests either with the API key or not.

Example Code
------------

[](#example-code)

With API Key

```
$whmcs_api = new WhmcsHelper('http://yourdomain.com/whcms/');
$whmcs_api->setUsername('whcms_username');
$whmcs_api->setPassword('whcms_password');
$whmcs_api->ip_access = false;
$whmcs_api->api_key = 'your_api_key'; //Your API key in WHCMS configuration.php file.
$stats = $whmcs_api->sendRequest('getstats');
```

Without API Key

```
$whmcs_api = new WhmcsHelper('http://yourdomain.com/whcms/');
$whmcs_api->setUsername('whcms_username');
$whmcs_api->setPassword('whcms_password');
$stats = $whmcs_api->sendRequest('getstats');
```

*I code this class for learning purpose so all contributors are welcome to join.*

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b33ab9a5e8b8b21de51391efb5ed4f96c3c7b62ec113ba7360ec554551d5dc6?d=identicon)[parobit](/maintainers/parobit)

---

Top Contributors

[![nh314](https://avatars.githubusercontent.com/u/6006620?v=4)](https://github.com/nh314 "nh314 (9 commits)")

### Embed Badge

![Health badge](/badges/nh314-whmcs-helper/health.svg)

```
[![Health](https://phpackages.com/badges/nh314-whmcs-helper/health.svg)](https://phpackages.com/packages/nh314-whmcs-helper)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
