PHPackages                             xililo/whm-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. xililo/whm-api

ActiveLibrary[API Development](/categories/api)

xililo/whm-api
==============

A tidy PHP wrapper for the cPanel WHM API 1.

v1.0.0(3mo ago)00MITPHPPHP ^8.1

Since Apr 25Pushed 3mo agoCompare

[ Source](https://github.com/xililo/whm-api)[ Packagist](https://packagist.org/packages/xililo/whm-api)[ RSS](/packages/xililo-whm-api/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

WHM API
=======

[](#whm-api)

[![Packagist Version](https://camo.githubusercontent.com/e49f402c7fa79e805f904113a6b20a6a65de67fb2388c9642235c2de1f87de21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f78696c696c6f2f77686d2d617069)](https://packagist.org/packages/xililo/whm-api)[![Packagist Downloads](https://camo.githubusercontent.com/3195b360fbfcd48777a8f3e7e0a0229503587852943c0c2d5a4b66c06255dc08/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f78696c696c6f2f77686d2d617069)](https://packagist.org/packages/xililo/whm-api)[![PHP Version](https://camo.githubusercontent.com/6e99bf5e3298ed44ba14c26128f65299d605718c2c507898871fb083aab3d3b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f78696c696c6f2f77686d2d617069)](https://packagist.org/packages/xililo/whm-api)[![License](https://camo.githubusercontent.com/273188b9a663924bc45470a700616e5487deb0bf539ab2df7b320e6494fd3bb7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f78696c696c6f2f77686d2d617069)](https://packagist.org/packages/xililo/whm-api)

A tidy PHP wrapper for the cPanel WHM API 1.

Overview
--------

[](#overview)

This package provides a lightweight, dependency-minimal client for interacting with WHM API 1 JSON endpoints. It includes support for:

- WHM token authentication
- account management and account queries
- hosting plan creation, updates, and inspection
- login session and provider login URL helpers

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

[](#requirements)

- PHP ^8.1
- ext-curl
- ext-json

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

[](#installation)

```
composer require xililo/whm-api
```

Quick Start
-----------

[](#quick-start)

```
