PHPackages                             darthsoup/php-whmcs-api - 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. darthsoup/php-whmcs-api

ActiveLibrary[API Development](/categories/api)

darthsoup/php-whmcs-api
=======================

WHMCS API client for PHP

1.3.8(2mo ago)2317.3k↑20%104MITPHPPHP ^7.4|^8.0.2CI passing

Since Feb 4Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/darthsoup/php-whmcs-api)[ Packagist](https://packagist.org/packages/darthsoup/php-whmcs-api)[ RSS](/packages/darthsoup-php-whmcs-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (22)Versions (18)Used By (4)

PHP WHMCS API Client
====================

[](#php-whmcs-api-client)

A simple, PSR-7 compatible WHMCS API client for PHP, inspired by [GitLabPHP/Client](https://github.com/GitLabPHP/Client).

[![Tests](https://github.com/darthsoup/php-whmcs-api/actions/workflows/test.yml/badge.svg)](https://github.com/darthsoup/php-whmcs-api/actions/workflows/test.yml)[![License](https://camo.githubusercontent.com/146d81b54d17ef1f38856c9501bcb6abe24be6ead3741b446c2198a28607559f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6461727468736f75702f7068702d77686d63732d617069)](https://github.com/darthsoup/php-whmcs-api/blob/master/LICENSE.md)

Requirements
------------

[](#requirements)

- PHP **^7.4 | ^8.0 | ^8.1 | ^8.2 | ^8.3 | ^8.4**
- PHP extensions: `curl`, `json`, `mbstring`

Installation
------------

[](#installation)

```
composer require darthsoup/php-whmcs-api guzzlehttp/guzzle:"^7.8" http-interop/http-factory-guzzle:"^1.0"
```

Usage
-----

[](#usage)

### Initialize the client

[](#initialize-the-client)

```
