Skip to main content
The Upsun SDKs provide typed client libraries that map to the Upsun CLI commands, letting you manage the platform programmatically from your applications. Both SDKs are currently in Beta — features and APIs may evolve over time.

Quick comparison

PHPNode.js
Packageupsun/upsun-sdk-phpupsun-sdk-node
Installcomposer require upsun/upsun-sdk-phpnpm install upsun-sdk-node
LanguagePHPTypeScript
LicenseApache 2.0Apache 2.0
SourceGitHubGitHub

Authentication

Both SDKs authenticate with an Upsun API token. Store it in an environment variable and pass it when initializing the client. See each SDK’s README for usage examples.
Last modified on March 9, 2026