1. Go to this page and download the library: Download kveldscholten/kasapi-php 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/ */
kveldscholten / kasapi-php example snippets
$kasConfiguration = new KasApi\KasConfiguration($login, $authData, $authType);
$kasConfiguration = new KasApi\KasConfiguration("w0123456", "password", "plain");
namespace KasApi;
foreach (glob("src/KasApi/*.php") as $filename) {
ain");
$kasApi = new KasApi($kasConfiguration);
$kasData = $kasApi->get_domains(); // any API function as described above
} catch(KasApiException $e) {
echo $e->getFaultstring(); // show SOAP error
}
var_dump($kasData); // $kasData is a plain old PHP array
composer
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.