承接 xuma/l5whmcs 相关项目开发

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

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

xuma/l5whmcs

最新稳定版本:v5.2

Composer 安装命令:

composer require xuma/l5whmcs

包简介

Laravel 5 WHMCS API

README 文档

README

Laravel Source License

Installation

Begin by installing the package through Composer. The best way to do this is through your terminal via Composer itself:

composer require xuma/l5whmcs

or you can add your composer.json require section:

"xuma/l5whmcs": "~1.0@dev"

Don't forget to update composer update.

Once this operation is complete, simply add both the service provider and facade classes to your project's config/app.php file:

Config File

Create config/whmcs.php with content:

    return [
        'url'=>'https://whmcsurl/includes/api.php',
        'username'=>'yourapiusername',
        'password'=>'yourapipassword',
        'user_agent'=>'Your Agent Name'
    ];

Service Provider

'Xuma\Whmcs\WhmcsServiceProvider',

Facade

'WHMCS'=> 'Xuma\Whmcs\Facades\Whmcs',

Examples

Getting all clients.

WHMCS::getClients();

Getting single client

WHMCS::getClientsDetails($userIdOrEmail);

Getting clients products

WHMCS::getClientsProducts($userId)

Getting clients domains

WHMCS::getClientsDomains($userId)

Getting clients hashed password

WHMCS::getClientsPassword($userId)

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 4
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-26