定制 hopekelldev/laravel_whmcs 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

hopekelldev/laravel_whmcs

最新稳定版本:1.0.1

Composer 安装命令:

composer require hopekelldev/laravel_whmcs

包简介

A Laravel package for interacting with WHMCS API in Laravel 10

README 文档

README

Latest Version Total Downloads License PHP Version Laravel Scrutinizer Code Quality

A Laravel package for integrating with the WHMCS API in Laravel 10. This package has been tested in laravel 10 and it's compatible with it, It has not been tested with the current version of laravel. We will be working on improving it. You can are free to contribute to the project.

Installation

You can install the package via Composer:

composer require hopekelldev/laravelwhmcs

Register your service provider:

Add your service provider to the providers array in config/app.php:

'providers' => [
    // Other Service Providers
    HopekellDev\LaravelWHMCS\WHMCSServiceProvider::class,
],

Add Aliases

'aliases' => [
    // Other Aliases
    'WHMCS' => HopekellDev\LaravelWHMCS\Facades\WHMCS::class,
],

Publish the configuration file:

php artisan vendor:publish --provider="HopekellDev\LaravelWHMCS\WHMCSServiceProvider" --tag="config"

Set your WHMCS credentials in your .env file:

YOUR_WHMCS_API_URL=
YOUR_API_IDENTIFIER=your_whmcs_username
YOUR_API_SECRET=your_whmcs_password

Now you can use the package in your Laravel application:

use HopekellDev\LaravelWHMCS\Facades\WHMCS;

// Example usage
$clients = WHMCS::getClients();

License

This package is licensed under the MIT License

  • see the LICENSE file for details.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-27