PHPackages                             fdisotto/cac-api - 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. fdisotto/cac-api

ActiveLibrary[API Development](/categories/api)

fdisotto/cac-api
================

PHP wrapper for the cloudatcost API's

1.0.4(11y ago)6791MITPHPPHP &gt;=5.3.0

Since Mar 17Pushed 11y ago3 watchersCompare

[ Source](https://github.com/fdisotto/cac-api)[ Packagist](https://packagist.org/packages/fdisotto/cac-api)[ Docs](https://github.com/fdisotto/cac-api)[ RSS](/packages/fdisotto-cac-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (5)Used By (0)

cac-api
=======

[](#cac-api)

PHP wrapper for the cloudatcost's API

References
----------

[](#references)

Install
-------

[](#install)

Via [Composer](https://getcomposer.org/)

```
$ composer require fdisotto/cac-api
```

Requires PHP 5.3.0 or newer and cURL lib installed.

Usage
-----

[](#usage)

```
$cac = new \fdisotto\CACApi(array(
    'key' => 'YourApiKey',
    'login' => 'YourLoginEmail'
));
```

### Actions

[](#actions)

#### List servers

[](#list-servers)

```
print_r($cac->getServers());
```

#### List templates

[](#list-templates)

```
print_r($cac->getTemplates());
```

#### List tasks

[](#list-tasks)

```
print_r($cac->getTasks());
```

#### Power ON server

[](#power-on-server)

```
$cac->powerOnServer($serverID);
```

#### Power OFF server

[](#power-off-server)

```
$cac->powerOffServer($serverID);
```

#### Reset server

[](#reset-server)

```
$cac->resetServer($serverID);
```

#### Console url

[](#console-url)

```
$cac->getConsoleUrl($serverID);
```

#### Rename server

[](#rename-server)

```
$cac->renameServer($serverID, $newName);
```

#### Modify reverse DNS

[](#modify-reverse-dns)

```
$cac->reverseDNS($serverID, $hostname);
```

#### Run Mode

[](#run-mode)

```
$cac->runMode($serverID, $runmode);
```

Update
------

[](#update)

#### v1.0.4

[](#v104)

- Added `Run mode` function

#### v1.0.3

[](#v103)

- Added `Rename server` function
- Added `Modify reverse DNS` function
- Updated tests

#### v1.0.1

[](#v101)

- Added tests
- Added example
- Extends curl class, now you can use all public methods and properties of this lib (ex: http\_status\_code, etc.)
- Some fixes

Credits
-------

[](#credits)

- [Fabio Di Sotto](https://github.com/fdisotto)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~11 days

Total

4

Last Release

4045d ago

### Community

Maintainers

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

---

Top Contributors

[![fdisotto](https://avatars.githubusercontent.com/u/3002528?v=4)](https://github.com/fdisotto "fdisotto (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fdisotto-cac-api/health.svg)

```
[![Health](https://phpackages.com/badges/fdisotto-cac-api/health.svg)](https://phpackages.com/packages/fdisotto-cac-api)
```

###  Alternatives

[stymiee/authnetjson

Library that abstracts Authorize.Net's JSON APIs. This includes the Advanced Integration Method (AIM), Automated Recurring Billing (ARB), Customer Information Manager (CIM), Transaction Reporting, Simple Integration Method (SIM), and Webhooks.

19545.7k](/packages/stymiee-authnetjson)[michaeldrennen/geonames

A Laravel (php) package that interfaces with the geolocation services on geonames.org.

9514.0k](/packages/michaeldrennen-geonames)[christianruhstaller/bexio-api-php-client

Client library for bexio API

1134.7k](/packages/christianruhstaller-bexio-api-php-client)[luyadev/luya-headless

LUYA headless API client

1025.6k3](/packages/luyadev-luya-headless)[mrteye/gdax

API for GDAX A service provided by coinbase. (Unofficial)

195.2k](/packages/mrteye-gdax)

PHPackages © 2026

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