定制 detain/myadmin-softaculous-licensing 二次开发

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

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

detain/myadmin-softaculous-licensing

Composer 安装命令:

composer require detain/myadmin-softaculous-licensing

包简介

Softaculous Licensing Class

README 文档

README

Tests Latest Stable Version Total Downloads License

A PHP library for managing Softaculous, Webuzo, Virtualizor, and SiteMush licenses through the Softaculous NOC API. This package provides a MyAdmin plugin integration layer along with a standalone API client for license lifecycle operations including purchasing, renewal, cancellation, refunds, IP management, and auto-renewal configuration.

Features

  • Full Softaculous NOC API client (SoftaculousNOC) supporting Softaculous, Webuzo, Virtualizor, and SiteMush products
  • MyAdmin plugin integration with event-driven hooks for license activation, deactivation, and IP changes
  • XML/Array conversion utilities (ArrayToXML)
  • Invoice and billing transaction management
  • Auto-renewal management

Requirements

  • PHP 8.2 or higher
  • ext-soap
  • ext-curl
  • ext-simplexml

Installation

Install via Composer:

composer require detain/myadmin-softaculous-licensing

Usage

use Detain\MyAdminSoftaculous\SoftaculousNOC;

$noc = new SoftaculousNOC('your-username', 'your-password');

// Purchase a license
$result = $noc->buy('198.198.198.198', '1M', 1, 'admin@example.com', 1);

// List all licenses
$licenses = $noc->licenses();

// Cancel a license by key
$noc->cancel('88888-88888-88888-88888-88888');

Running Tests

composer install
vendor/bin/phpunit

License

This package is licensed under the LGPL-2.1 license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-2.1-only
  • 更新时间: 2017-05-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固