定制 freshost/ispconfig-restapi 二次开发

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

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

freshost/ispconfig-restapi

最新稳定版本:v1.1

Composer 安装命令:

composer require freshost/ispconfig-restapi

包简介

API class for ISPconfig RESTAPI

README 文档

README

Introduction

A simple REST API PHP Client for ispconfig3 remote API.

Requirements

  • PHP >= 5.4.0 (with json support)

Getting started

Composer

$ composer require freshost/ispconfig-restapi

Usage

The package can be included & used on any PHP application.

Examples

$call = new ISPconfigAPI(['user' => 'remote_user', 'pass' => 'changeme', 'url' => 'https://ispconfig.local:8080']);

$client = $call->call("client_get", ["client_id" => 1]);

print_r($client);

You can allow the self signed certificate by set verifySSL variable.

$call = new ISPconfigAPI(['user' => 'remote_user', 'pass' => 'changeme', 'url' => 'https://ispconfig.local:8080', 'verifySSL' => false]);

Feedback and questions

Found a bug or missing a feature? Don't hesitate to create a new issue here on GitHub.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2023-03-26