LaravelPackages.net
Acme Inc.
Toggle sidebar
weblogin/laravel-whm-services

Handle WHM services with your Laravel command line

259
3
v1.0.2
About weblogin/laravel-whm-services

weblogin/laravel-whm-services is a Laravel package for handle whm services with your laravel command line. It currently has 3 GitHub stars and 259 downloads on Packagist (latest version v1.0.2). Install it with composer require weblogin/laravel-whm-services. Discover more Laravel packages by weblogin or browse all Laravel packages to compare alternatives.

Last updated

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

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.

Comments