Skip to content

Clever Cloud PHP SDK — documentation

Guides

Resource reference

Each page lists every method on the corresponding resource, with the exact signature and the underlying HTTP route.

V2

V4

Bridge (api-bridge.clever-cloud.com)

Enums

All under CleverCloud\Sdk\Model\Enum\:

  • FlavorPico Nano XS S M L XL XXL XXXL (pico..3XL)
  • DeployTypeGit Ftp Docker
  • ApplicationState — full lifecycle + isStable() / isTransient() helpers
  • MigrationStatusSuccess InProgress Pending Failed Cancelled + isTerminal()
  • MemberRoleAdmin Manager Developer Accounting
  • DeploymentAction
  • DeploymentState
  • DrainType
  • WebhookFormat

Catalogues fetched live from Clever Cloud

Method Endpoint Returns
$client->products->instances() GET /v2/products/instances list<InstanceType>
$client->products->zones() GET /v2/products/zones list<Zone>
$client->products->countries() GET /v2/products/countries list<Country>
$client->addons->providers() GET /v2/products/addonproviders list<AddonProvider>
$client->addons->provider($id) GET /v2/products/addonproviders/{id} AddonProvider
$client->applications->branches($appId) GET /v2/.../applications/{id}/branches list<string>
$client->tcpRedirections->namespaces($orgId) GET /v2/.../tcp-redirs/namespaces list<string>

See also