plesk/ext-php-api-lib-demo

Name: ext-php-api-lib-demo

Owner: Plesk

Description: Demonstrates how to use PHP library for Plesk API-RPC in the extension

Created: 2017-10-30 10:39:30.0

Updated: 2017-10-30 10:41:26.0

Pushed: 2017-10-30 10:41:24.0

Homepage: null

Size: 56

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Extension PHP library for Plesk API-RPC demo

Apache 2

A test extension intended to demonstrate how to use PHP library for Plesk API-RPC

How to use PHP library for Plesk API-RPC in your extension
  1. Add composer.json with require of plesk/api-php-lib
  2. Add use PleskX\Api\InternalClient in you PHP file (controller or library class)
  3. Use necessary API calls

You can find an example in src/plib/controllers/IndexController.php

PHP library for Plesk API-RPC

Source coude of the library is here. You are welcome to contribute!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.