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

AbandonedArchivedLibrary[API Development](/categories/api)

woenel/laravel-whmcs
====================

A simple Laravel interface for interacting with the WHMCS API.

2151PHP

Since Oct 31Pushed 7y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-whmcs
=============

[](#laravel-whmcs)

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.*",
	"woenel/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

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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/ea4479858c97e8df1544a07737dde16550f1c51173ca21290d77e4afe8c1b0be?d=identicon)[woenel](/maintainers/woenel)

---

Top Contributors

[![woenel](https://avatars.githubusercontent.com/u/8844488?v=4)](https://github.com/woenel "woenel (2 commits)")

### Embed Badge

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

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

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