PHPackages                             hsrtech/catc - 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. hsrtech/catc

ActiveLibrary[API Development](/categories/api)

hsrtech/catc
============

PHP Wrapper for Cloudatcost and vps-hosting.ca.

0.9.1-alpha(10y ago)022Apache 2.0PHPPHP &gt;=5.6

Since Apr 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/hsrtechs/catc-api)[ Packagist](https://packagist.org/packages/hsrtech/catc)[ RSS](/packages/hsrtech-catc/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Information
===========

[](#information)

```
Name: CatC Wrapper
Author: Rishabh Jain
Website: https://www.hsrtech.net
Stable Version: 1.0
Minimum Requirement: PHP 5.6 with cURL extenssion

```

Short Description
=================

[](#short-description)

PHP wrapper for the cloudatcost's API by HSR TECH

References
==========

[](#references)

[Could at Cost API](https://github.com/cloudatcost/api)

[VPS-HOSTING.CA API](https://panel.vps-hosting.ca/api-details.php)

Install
-------

[](#install)

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

```
$ composer require hsrtech/catc
```

Usage
=====

[](#usage)

### Basic Usage

[](#basic-usage)

The following example will show the basic

```
$api = new \hsrtech\catc\Wrapper(
    [
        'email' => 'Registered Email',
        'api_key' => 'YourLoginEmail'
    ]
);
```

### Advance Usage

[](#advance-usage)

There is the ability to use this on the other website having same kind of panel with adding some other parameters.

```
$api = new \hsrtech\catc\Wrapper(
    [
        'email' => 'Registered Email',
        'api_key' => 'YourLoginEmail'
    ],
    [
        'link' => 'The Base link for the api', // Default:  https://panel.cloudatcost.com/api
        'api_version' => 'the version of API to use', // Default = 'v1'
    ]
);
```

Actions
=======

[](#actions)

### List servers

[](#list-servers)

```
$api->getServers();
```

### List templates

[](#list-templates)

```
$api->getTemplates();
```

### List tasks

[](#list-tasks)

```
$api->getTasks();
```

### Power ON server

[](#power-on-server)

```
$api->powerOnServer($Server_ID);
```

### Power OFF server

[](#power-off-server)

```
$api->powerOffServer($Server_ID);
```

### Reboot server

[](#reboot-server)

```
$api->rebootServer($Server_ID);
```

### Get Console url

[](#get-console-url)

```
$api->getConsole($Server_ID);
```

### Rename server

[](#rename-server)

```
$api->renameServer($Server_ID, $Name);
```

### Modify reverse DNS

[](#modify-reverse-dns)

```
$api->setRDNS($Server_ID, $rdns);
```

### Run Mode

[](#run-mode)

```
$api->runMode($Server_ID, $runmode);
```

Cloud Pro Features
------------------

[](#cloud-pro-features)

### Build Server

[](#build-server)

```
$api->buildServer(
    [
        'cpu' => 'Amount of CPU cores for server',
        'ram' => 'Amount of Ram for the server',
        'storage' => 'Storage space alloted to the server',
        'os' => 'Valid Operating System ID',
    ]
);
```

### Delete Server

[](#delete-server)

```
$api->deleteServer($Server_ID);
```

### Resources

[](#resources)

```
$api->getResources();
```

\##Extra Features You can also return the result of last call using following function.

```
$api->results();
```

Credits
-------

[](#credits)

- [Rishabh Jain](https://www.fb.com/jrishbah55)
- [HSR Tech](https://github.com/hsrtech)

License
-------

[](#license)

Copyright 2016 [HSR-TECH](https://www.hsrtech.net)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

3673d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/68b4738aa67453909b17eabe2db1e5e452d3d8b1581d93817a7b16b524f4ddb9?d=identicon)[hsrtech](/maintainers/hsrtech)

---

Tags

apiCloud at CostCloudatcost

### Embed Badge

![Health badge](/badges/hsrtech-catc/health.svg)

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

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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