PHPackages                             lecanardnoir/cpanel-uapi-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. [HTTP &amp; Networking](/categories/http)
4. /
5. lecanardnoir/cpanel-uapi-php

ArchivedLibrary[HTTP &amp; Networking](/categories/http)

lecanardnoir/cpanel-uapi-php
============================

Easy class to connect with cPanel UAPI only, this class depend on GuzzleHttp/Client. Inspire by scorpionslh/cpanel-uapi-php-class.

v1.0(6y ago)06001[2 PRs](https://github.com/LeCanardNoir/cPanelUAPI/pulls)GPL3.0PHP

Since Aug 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/LeCanardNoir/cPanelUAPI)[ Packagist](https://packagist.org/packages/lecanardnoir/cpanel-uapi-php)[ RSS](/packages/lecanardnoir-cpanel-uapi-php/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

cPanelUAPI
==========

[](#cpaneluapi)

[![version](https://camo.githubusercontent.com/ac4f5c31ce6941c9d1b5d6976bc9fc796ba53a6805d88c8e4ade085d1e92911a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302d627269676874677265656e)](https://camo.githubusercontent.com/ac4f5c31ce6941c9d1b5d6976bc9fc796ba53a6805d88c8e4ade085d1e92911a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302d627269676874677265656e)

[![Build Status](https://camo.githubusercontent.com/479d84005a2d98e71998da50b937d15183649b92653d6d47738a725049d35576/68747470733a2f2f7472617669732d63692e636f6d2f4c6543616e6172644e6f69722f6350616e656c554150492e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/LeCanardNoir/cPanelUAPI) [![Dependencies](https://camo.githubusercontent.com/625d04834fd187b79112a3e5470d8be39ffb42f1fb9648e79669c859e99b381b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f47757a7a6c6548747470253246434c69656e742d446570656e64656e636965732d626c7565)](https://camo.githubusercontent.com/625d04834fd187b79112a3e5470d8be39ffb42f1fb9648e79669c859e99b381b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f47757a7a6c6548747470253246434c69656e742d446570656e64656e636965732d626c7565) [![PHP](https://camo.githubusercontent.com/be3dda728a71c0ffa352053ac44eefa0156c0bbd94d6aa5bb06ef8a3552e22fa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545372e322d627269676874677265656e)](https://camo.githubusercontent.com/be3dda728a71c0ffa352053ac44eefa0156c0bbd94d6aa5bb06ef8a3552e22fa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545372e322d627269676874677265656e)

PHP Class inspired by [scorpionslh/cpanel-uapi-php-class](https://github.com/scorpionslh/cpanel-uapi-php-class).

---

### cPanel API reference

[](#cpanel-api-reference)

[Guide to UAPI](https://documentation.cpanel.net/display/DD/Guide+to+UAPI)

---

#### Installation

[](#installation)

```
composer require lecanardnoir/cpanel-uapi-php
```

#### Usage:

[](#usage)

```
use cPanel\UAPI;

$cpanel = new UAPI( $domain, $user, $password );

$query = array(
    "param1" => "value",
    "param2" => "value"
);

$response = $cpanel->Module->function( $query );

echo $response; //json
```

#### Example

[](#example)

```
use cPanel\UAPI;

$cpanel = new UAPI( $domain, $user, $password );

$query = array(
    "domain"        => $domain,
    "regex"         => "coordo",
    "api.column"    => 1,
    "api.columns_0" => "dest",
    "api.columns_1" => "forward"
);

$response = $cpanel->Email->list_forwarders( $query );

$response = (object) json_decode( $response, true ); //decode json

var_dump( $response->data );
```

---

This is my very first share php class and PHPunit test, so if any have an advice on this library please be my guest. 😁

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

2466d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5bb25b50928178000b0be56a06dc5ea6bdb481dcf3b1708d39345fde397b0d23?d=identicon)[LeCanardNoir](/maintainers/LeCanardNoir)

---

Top Contributors

[![LeCanardNoir](https://avatars.githubusercontent.com/u/801372?v=4)](https://github.com/LeCanardNoir "LeCanardNoir (26 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lecanardnoir-cpanel-uapi-php/health.svg)

```
[![Health](https://phpackages.com/badges/lecanardnoir-cpanel-uapi-php/health.svg)](https://phpackages.com/packages/lecanardnoir-cpanel-uapi-php)
```

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)

PHPackages © 2026

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