承接 weblogin/laravel-whm-services 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

weblogin/laravel-whm-services

最新稳定版本:v1.0.2

Composer 安装命令:

composer require weblogin/laravel-whm-services

包简介

Handle WHM services with your Laravel command line

README 文档

README

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.

统计信息

  • 总下载量: 258
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-16