weblogin / laravel-whm-services
Handle WHM services with your Laravel command line
Installs: 257
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/weblogin/laravel-whm-services
Requires
- illuminate/console: ^5.1|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- illuminate/support: ^5.1|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
This package is auto-updated.
Last update: 2025-12-31 00:17:07 UTC
README
Laravel WHM Services let you handle your services from the command line. You can for example restart PHP-FPM after deploying your app.
Installation
You can install the package via composer (the package will automatically register itself) :
composer require weblogin/laravel-whm-services
Usage
php artisan whm-services:restart apache_php_fpm
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 > Development > Manage API Tokens. You'll need the following privileges- Restart command : "Restart services"
License
The MIT License (MIT). Please see License File for more information.
