Skip to content

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

ISPConfig 3 REST API PHP Client

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 = newISPconfigAPI(['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 = newISPconfigAPI(['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.

About

A simple REST API PHP Client for ispconfig3 remote API.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages