A test extension intended to demonstrate how to use PHP library for Plesk API-RPC
- Add composer.json with require of plesk/api-php-lib
- Add use PleskX\Api\InternalClient in you PHP file (controller or library class)
- Use necessary API calls
You can find an example in src/plib/controllers/IndexController.php
Source coude of the library is here. You are welcome to contribute!