PHPackages                             csfcloud/sdk - 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. csfcloud/sdk

AbandonedLibrary[API Development](/categories/api)

csfcloud/sdk
============

SDK for calling CSF APIs

01.2kPHP

Since Feb 1Pushed 7y ago2 watchersCompare

[ Source](https://github.com/CSFCloud/php-sdk)[ Packagist](https://packagist.org/packages/csfcloud/sdk)[ RSS](/packages/csfcloud-sdk/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

CSFCloud PHP SDK
================

[](#csfcloud-php-sdk)

[![Build Status](https://camo.githubusercontent.com/dbdf5bf42be802677399feca91f1929fdec3ec76c91d73f192fb4fab5549a4e3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f435346436c6f75642f7068702d73646b2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/CSFCloud/php-sdk/build-status/master)[![Code Coverage](https://camo.githubusercontent.com/bf3fbce1b01a60d5aa47acdc1ade8cd8ce221120e4741e28285d25dae91abf4c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f435346436c6f75642f7068702d73646b2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/CSFCloud/php-sdk/?branch=master)[![Packagist](https://camo.githubusercontent.com/fd6f5038dc084b074e697b0e9112f0fa47c4307b54de2123c8ef2a0ba5f5680b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f637366636c6f75642f73646b2e737667)](https://packagist.org/packages/csfcloud/sdk)

Contents
--------

[](#contents)

- Key manager
- Container management
- Container

Key manager
-----------

[](#key-manager)

The key manager stores your server key, and OAuth keys.

```
use CSFCloud\KeyManager;

$keymgr = new KeyManager([
    "key" => "server-key",
    "client_id" => "OAuth-client-id",
    "client_secret" => "OAuth-client-secret"
]);
```

Container management
--------------------

[](#container-management)

First you need to create a container manager:

```
use CSFCloud\Containers\Manager;

$cntmgr = new Manager($keymgr);
```

You can use the container manager to list, create and open containers.

```
$container = $cntmgr->NewContainer();
```

```
$container = $cntmgr->GetContainer("container-id");
```

Container
---------

[](#container)

Get and set the container name

```
$old_name = $container->GetContainerName();
$contaier->SetContainerName("New name");
```

Delete container:

```
$container->Delete();
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.4% 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://avatars.githubusercontent.com/u/6043073?v=4)[Bence Skorka](/maintainers/skorkabence)[@SkorkaBence](https://github.com/SkorkaBence)

---

Top Contributors

[![SkorkaBence](https://avatars.githubusercontent.com/u/6043073?v=4)](https://github.com/SkorkaBence "SkorkaBence (37 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

### Embed Badge

![Health badge](/badges/csfcloud-sdk/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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