PHPackages                             ouchestechnology/whm-php - 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. ouchestechnology/whm-php

ActiveLibrary

ouchestechnology/whm-php
========================

php whm cpanel manager

v1.0.0(2y ago)010MITPHP

Since Jul 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hambolu/whm-php)[ Packagist](https://packagist.org/packages/ouchestechnology/whm-php)[ RSS](/packages/ouchestechnology-whm-php/feed)WikiDiscussions master Synced 1mo ago

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

Introduction

Ouchestechnology/whm-php is a Laravel package that provides a convenient wrapper around the cPanel API, allowing you to interact with cPanel accounts and perform various actions programmatically. Installation

You can install the package via composer:

bash

composer require ouchestechnology/whm-php

Configuration

```
Add the service provider to the config/app.php file:

'providers' => [
    // Other providers...
    Ouchestechnology\WhmPhp\WhmPackageServiceProvider::class,
],

```

Add the package configuration to your Laravel app's config/services.php file:

```
'whm' => [
    'base_url' => env('BASE_URL'),
    'api_key' => env('WHM_API_KEY'),
],

```

Open the .env file in your Laravel application and add the following cPanel credentials:

```
BASE_URL=https://your-cpanel-host.com
CPANEL_USERNAME=your_cpanel_username
CPANEL_PASSWORD=your_cpanel_password
WHM_API_KEY=your_api_key

```

Replace , your\_cpanel\_username, and your\_cpanel\_password with your actual cPanel credentials.

Usage

Create a cPanel Account

```
use Ouchestechnology\WhmPhp\CpanelApi;

$cpanel = new CpanelApi(config('cpanel.base_url'), config('cpanel.username'), config('cpanel.password'));

```

Create a new cPanel account

```
$response = $cpanel->createCpanelAccount('newaccount', 'example.com', 'secretpassword');

```

Get all hosting packages

```
$response = $cpanel->getAllHostingPackages();

```

Get all cPanel users

```
$response = $cpanel->getAllUsers();

```

Get all hosting packages

```
$response = $cpanel->getAllHostingPackages();

```

The Ouchestechnology/whm-php is open-sourced software licensed under the MIT license.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1022d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/698a7c851f1b4ee1465cb83253665d4a651db1d2a675a77c6384c7df773c916a?d=identicon)[ouchestechnology](/maintainers/ouchestechnology)

---

Top Contributors

[![hambolu](https://avatars.githubusercontent.com/u/36384023?v=4)](https://github.com/hambolu "hambolu (8 commits)")

### Embed Badge

![Health badge](/badges/ouchestechnology-whm-php/health.svg)

```
[![Health](https://phpackages.com/badges/ouchestechnology-whm-php/health.svg)](https://phpackages.com/packages/ouchestechnology-whm-php)
```

PHPackages © 2026

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