PHPackages                             weblogin/laravel-whm-services - 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. [CLI &amp; Console](/categories/cli)
4. /
5. weblogin/laravel-whm-services

ActiveLibrary[CLI &amp; Console](/categories/cli)

weblogin/laravel-whm-services
=============================

Handle WHM services with your Laravel command line

v1.0.2(2y ago)3259MITPHP

Since Jan 16Pushed 2y ago2 watchersCompare

[ Source](https://github.com/WebLogin/laravel-whm-services)[ Packagist](https://packagist.org/packages/weblogin/laravel-whm-services)[ Docs](https://github.com/weblogin/laravel-whm-services)[ RSS](/packages/weblogin-laravel-whm-services/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Laravel WHM Services
====================

[](#laravel-whm-services)

Laravel WHM Services let you handle your services from the command line. You can for example restart PHP-FPM after deploying your app.

 [![WHM Services logo](docs/banner.jpg)](docs/banner.jpg)

Installation
------------

[](#installation)

You can install the package via composer (the package will automatically register itself) :

```
composer require weblogin/laravel-whm-services
```

Usage
-----

[](#usage)

```
php artisan whm-services:restart apache_php_fpm
```

Configuration
-------------

[](#configuration)

You can change the default configuration declaring the corresponding variable in you environment file.

- `WHM_SERVICES_HOST` : The domain where the WHM API is accessible. The default value is your own domain (APP\_URL).
- `WHM_SERVICES_PORT` : We use the WHM default port which is 2087.
- `WHM_SERVICES_API_TOKEN` : You have to generate this token via WHM &gt; Development &gt; Manage API Tokens. You'll need the following privileges
    - Restart command : "Restart services"

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Every ~221 days

Total

3

Last Release

769d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca2f5a6794385617414f1891c265b5bffe39ab8920995afd6c028d7c16f474b3?d=identicon)[WebLogin](/maintainers/WebLogin)

---

Top Contributors

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

---

Tags

cpanellaravelphp-fpmwhmlaravelphp-fpmcpanelwebloginwhm

### Embed Badge

![Health badge](/badges/weblogin-laravel-whm-services/health.svg)

```
[![Health](https://phpackages.com/badges/weblogin-laravel-whm-services/health.svg)](https://phpackages.com/packages/weblogin-laravel-whm-services)
```

###  Alternatives

[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[nunomaduro/laravel-console-dusk

Laravel Console Dusk allows the usage of Laravel Dusk in Laravel/Laravel Zero artisan commands.

16255.4k7](/packages/nunomaduro-laravel-console-dusk)[socialengine/sniffer-rules

A Lumen 5 and Laravel 5 SquizLabs Code Sniffer 2.0 artisan command. Detect violations of a defined coding standard. It helps your code remains clean and consistent.

1248.2k1](/packages/socialengine-sniffer-rules)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

171.9k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

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