PHPackages                             gufy/cpanel-whm - 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. [Framework](/categories/framework)
4. /
5. gufy/cpanel-whm

ActiveLibrary[Framework](/categories/framework)

gufy/cpanel-whm
===============

Laravel cPanel/WHM API Package.

v1.0.3(9y ago)59123.8k↓33.3%37[5 issues](https://github.com/mgufrone/cpanel-whm/issues)[1 PRs](https://github.com/mgufrone/cpanel-whm/pulls)2MITPHPPHP &gt;=5.4.0

Since Jul 14Pushed 3y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (5)Used By (2)

Laravel cPanel WHM Package
--------------------------

[](#laravel-cpanel-whm-package)

### Contents

[](#contents)

- [Installation Guide](#installation-guide)
- [Configuration](#configuration)
- [Usage](#usage)

### IMPORTANT NOTE

[](#important-note)

If you are Laravel 4 user, please use v1.0.1 version instead.

### Installation Guide

[](#installation-guide)

To install this package, you can run this code via your terminal

```
	composer require gufy/cpanel-whm:~1.0
```

Or update your `composer.json` by adding this line

```
	"gufy/cpanel-whm":"~1.0"
```

Then, run this code

```
	composer update
```

After install it, you have to add this line on your `app/config/app.php` on Service Providers lines.

```
	'Gufy\CpanelWhm\CpanelWhmServiceProvider',
```

It will automatically set an alias 'CpanelWhm' as Facade Accessor.

### Configuration

[](#configuration)

In this package, it only using hash as its authentication. It's the safer way than using your root plain password. First, run this command

```
	php artisan vendor:publish gufy/cpanel-whm
```

It will generate new file at `config/cpanel-whm.php`. Edit necessary lines.

### Usage

[](#usage)

For example, if you are trying to get some list of accounts, you can run this.

```
