1. Go to this page and download the library: Download revoltify/spaceship-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/ */
revoltify / spaceship-php example snippets
use Spaceship\SpaceshipAPI;
$api = new SpaceshipAPI('api_key', 'api_secret');
// Get domain information
$api->domain('example.com');