PHPackages                             staffkojinpro/laravel-cpanel-api - 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. staffkojinpro/laravel-cpanel-api

ActiveLibrary[API Development](/categories/api)

staffkojinpro/laravel-cpanel-api
================================

Cpanel Api Integration with laravel 8

1.0(4y ago)0277MITPHP

Since Oct 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/staffkojinpro/laravel-cpanel-api)[ Packagist](https://packagist.org/packages/staffkojinpro/laravel-cpanel-api)[ RSS](/packages/staffkojinpro-laravel-cpanel-api/feed)WikiDiscussions main Synced today

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

laravel-cpanel-api
------------------

[](#laravel-cpanel-api)

Cpanel Api Integration with laravel 8

### Contents

[](#contents)

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

### Installation Guide

[](#installation-guide)

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

```
	composer require staffkojinpro/laravel-cpanel-api:~1.0
```

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

```
	"staffkojinpro/laravel-cpanel-api":"~1.0"
```

Then, run this code

```
	composer update
```

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

```
	'CP' => staffkojinpro\cPanelApi::class,
```

### 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

In env File CPANEL\_HOST="CpanelSite.com" CPANEL\_PORT=2083 CPANEL\_USER="UserInCpanel" CPANEL\_PASSWORD="Secret999"

### Usage

[](#usage)

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

```
