PHPackages                             corydemille/laravel-whmcs - 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. corydemille/laravel-whmcs

ActiveLibrary[API Development](/categories/api)

corydemille/laravel-whmcs
=========================

A simple Laravel interface for interacting with the WHMCS API.

026PHP

Since Jun 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/corydemille/laravel-whmcs)[ Packagist](https://packagist.org/packages/corydemille/laravel-whmcs)[ RSS](/packages/corydemille-laravel-whmcs/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-whmcs (WORK IN PROGRESS)
================================

[](#laravel-whmcs-work-in-progress)

A simple Laravel interface for interacting with the WHMCS API.

Installation
============

[](#installation)

To install the package, simply add the following to your Laravel installation's `composer.json` file:

```
"require": {
	"laravel/framework": "5.*",
	"corydemille/laravel-whmcs": "dev-master"
},
```

Run `composer update` to pull in the files.

Then, add the following **Service Provider** to your `providers` array in your `config/app.php` file:

```
'providers' => array(
	...
	WHMCS\WHMCSServiceProvider::class
);
```

From the command-line run: `php artisan vendor:publish`

Configuration
=============

[](#configuration)

Open `config/whmcs.php` and configure the api endpoint and credentials:

```
return [
	// API URL
	'url'		=>	'http://url.com/whmcs/includes/api.php',

	// API USERNAME
	'username'	=>	'admin_user',

	// API PASSWORD
	'password'	=>	'password123',

	// API RESPONSE TYPE
	'response_type'	=> 'json', // json or xml
];
```

Usage
=====

[](#usage)

```
// app/Http/routes.php

Route::get('/products/{client_id}', function() {

    $start = 0;
    $limit = 25;

    $products = WHMCS::getClientProducts($client_id, $start, $limit);

    return json_encode($products);
});
```

WHMCS Docs
==========

[](#whmcs-docs)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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://avatars.githubusercontent.com/u/1228079?v=4)[Cory DeMille](/maintainers/corydemille)[@corydemille](https://github.com/corydemille)

---

Top Contributors

[![nicklaw5](https://avatars.githubusercontent.com/u/7908386?v=4)](https://github.com/nicklaw5 "nicklaw5 (10 commits)")[![corydemille](https://avatars.githubusercontent.com/u/1228079?v=4)](https://github.com/corydemille "corydemille (4 commits)")

### Embed Badge

![Health badge](/badges/corydemille-laravel-whmcs/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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