PHP code example of stereoflo / ispmanager-php-api
1. Go to this page and download the library: Download stereoflo/ispmanager-php-api library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
stereoflo / ispmanager-php-api example snippets
$server = new \IspApi\Server\Server('server', 1500);
$credentials = new \IspApi\Credentials\Credentials('user', 'password');
$format = new \IspApi\Format\JsonFormat();
$client = new \IspApi\HttpClient\CurlClient(); // тут может быть любой ваш http клиент
$getDomainList = new \IspApi\Func\Dns\GetList();
$deleteDomain = new \IspApi\Func\Dns\Delete('domain.ru');