PHPackages                             ahmedkhan847/cloudwaysapiphpsdk - 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. ahmedkhan847/cloudwaysapiphpsdk

ActiveSdk

ahmedkhan847/cloudwaysapiphpsdk
===============================

Cloudways API SDK for PHP

21PHP

Since Mar 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ahmedkhan847/cloudwaysapisdk)[ Packagist](https://packagist.org/packages/ahmedkhan847/cloudwaysapiphpsdk)[ RSS](/packages/ahmedkhan847-cloudwaysapiphpsdk/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

A PHP-SDK for Cloudways API.
----------------------------

[](#a-php-sdk-for-cloudways-api)

You can clone it to start working on it or use composer to install it.

Type the following command to install SDK using composer

`$composer require ahmedkhan847/cloudwaysapiphpsdk`

Or create a new file name it `composer.json` and paste the following code in it.

```
    {
    	"require": {
    		        "ahmedkhan847/cloudwaysapiphpsdk" : "1.0.0.x-dev"
    	    }
    }

```

Cloudways API PHP-SDK also provides you two function to check the status of operation id. The first is `getOperation($operationid)` which will return the result from which you have to extract whether the operation is completed. The second one is `getOperationResult($operationid, $wait)` which take the `$operationid` and `$wait` parameter (in seconds) and returns `true` when the operation is completed. If it reaches the maximum execution time for PHP, the code will stop and you need to run the function again.

To learn more about using it read the following guide: [Possibilities of Cloudways API PHP-SDK](https://www.cloudways.com/blog/introducing-cloudways-api-php-sdk/).

Creating a New Server#
======================

[](#creating-a-new-server)

```
#!php

```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b20c2cf1074f090f550f8429a8dc52d820a319690932845c1ddaf608799a433a?d=identicon)[ahmedkhan847](/maintainers/ahmedkhan847)

---

Top Contributors

[![ahmedkhan847](https://avatars.githubusercontent.com/u/10652676?v=4)](https://github.com/ahmedkhan847 "ahmedkhan847 (3 commits)")

### Embed Badge

![Health badge](/badges/ahmedkhan847-cloudwaysapiphpsdk/health.svg)

```
[![Health](https://phpackages.com/badges/ahmedkhan847-cloudwaysapiphpsdk/health.svg)](https://phpackages.com/packages/ahmedkhan847-cloudwaysapiphpsdk)
```

PHPackages © 2026

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