PHPackages                             community-sdks/spaceship-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. community-sdks/spaceship-php

ActiveLibrary[API Development](/categories/api)

community-sdks/spaceship-php
============================

Typed PHP SDK for the Spaceship API

v1.0.1(1mo ago)061MITPHPPHP ^8.2

Since Mar 13Pushed 1mo agoCompare

[ Source](https://github.com/community-sdks/spaceship-php)[ Packagist](https://packagist.org/packages/community-sdks/spaceship-php)[ RSS](/packages/community-sdks-spaceship-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (1)

community-sdks/spaceship-php
============================

[](#community-sdksspaceship-php)

Typed PHP SDK for the Spaceship API.

- Composer package: community-sdks/spaceship-php
- Namespace: CommunitySDKs\\Spaceship

Installation
------------

[](#installation)

```
composer require community-sdks/spaceship-php
```

Basic setup
-----------

[](#basic-setup)

```
use CommunitySDKs\Spaceship\Client;
use CommunitySDKs\Spaceship\Config\Config;

$client = new Client(Config::sandbox('API_KEY', 'API_SECRET'));
```

Custom endpoint override
------------------------

[](#custom-endpoint-override)

```
use CommunitySDKs\Spaceship\Client;
use CommunitySDKs\Spaceship\Config\Config;

$config = Config::withCustomEndpoint(
    'API_KEY',
    'API_SECRET',
    'https://spaceship.dev/api'
);

$client = new Client($config);
```

Examples
--------

[](#examples)

Run the sandbox example templates from the `examples/` folder. Each script shows manual DTO construction with placeholder values you should replace before making real API calls.

**PowerShell:**

```
$env:SPACESHIP_API_KEY='your_key'; $env:SPACESHIP_API_SECRET='your_secret'; php examples/DomainsService.php
```

**Bash (Mac / Linux / Git Bash):**

```
SPACESHIP_API_KEY=your_key SPACESHIP_API_SECRET=your_secret php examples/DomainsService.php
```

See `examples/README.md` for the available scripts, required environment variables, and notes about replacing placeholder data.

Documentation
-------------

[](#documentation)

ServiceDescription[DomainsService](docs/DomainsService.md)Full domain lifecycle: list, availability checks, create, delete, renew, restore, transfer, contacts, nameservers, privacy, auth code, and transfer lock[DNSRecordsService](docs/DNSRecordsService.md)Manage DNS resource records for domains: save, delete, and list records[ContactsService](docs/ContactsService.md)Save and read registrant and contact details[ContactsAttributesService](docs/ContactsAttributesService.md)Save and read extended contact attributes per TLD[AsyncOperationsService](docs/AsyncOperationsService.md)Retrieve the status and result of long-running async operations[SellerHubService](docs/SellerHubService.md)Manage SellerHub checkout links, domains, pricing, and verification recordsRun tests
---------

[](#run-tests)

```
composer install
composer test
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance89

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

57d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/211412089?v=4)[ZPM Labs](/maintainers/zpmlabs)[@ZPMLabs](https://github.com/ZPMLabs)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/community-sdks-spaceship-php/health.svg)

```
[![Health](https://phpackages.com/badges/community-sdks-spaceship-php/health.svg)](https://phpackages.com/packages/community-sdks-spaceship-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
