PHPackages                             dsmgid/laravel-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. [API Development](/categories/api)
4. /
5. dsmgid/laravel-whm

AbandonedArchivedLibrary[API Development](/categories/api)

dsmgid/laravel-whm
==================

Laravel WHM API Package.

07PHP

Since Jul 24Pushed 4y agoCompare

[ Source](https://github.com/dsmgid/laravel-whm)[ Packagist](https://packagist.org/packages/dsmgid/laravel-whm)[ RSS](/packages/dsmgid-laravel-whm/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

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

### Contents

[](#contents)

- [Laravel cPanel WHM Package](#laravel-cpanel-whm-package)
    - [Contents](#contents)
    - [Installation Guide](#installation-guide)
    - [Configuration](#configuration)
    - [Usage](#usage)
    - [Multiple Servers](#multiple-servers)

### Installation Guide

[](#installation-guide)

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

```
	composer require dsmgid/laravel-whm:~1.0
```

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

```
	"dsmgid/laravel-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.

```
	'dsmgid\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 dsmgid/laravel-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.

```
