PHPackages                             roko91/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. roko91/cpanel-whm

ActiveLibrary[Framework](/categories/framework)

roko91/cpanel-whm
=================

Laravel cPanel/WHM API Package.

v1.0.9(8mo ago)028MITPHPPHP &gt;=5.4.0

Since Jul 14Pushed 8mo agoCompare

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

READMEChangelog (6)Dependencies (2)Versions (11)Used By (0)

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.

```
