PHPackages                             c3systems/c3-sdk-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. c3systems/c3-sdk-php

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

c3systems/c3-sdk-php
====================

The C3 SDK for PHP

0.0.6(7y ago)28AGPL-3.0PHPPHP &gt;=7.1

Since Sep 7Pushed 7y ago2 watchersCompare

[ Source](https://github.com/c3systems/c3-sdk-php)[ Packagist](https://packagist.org/packages/c3systems/c3-sdk-php)[ RSS](/packages/c3systems-c3-sdk-php/feed)WikiDiscussions master Synced today

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

c3-sdk-php
==========

[](#c3-sdk-php)

> The [C3](https://github.com/c3systems/c3-go) SDK for PHP

This SDK can be used for WordPress.

Install
-------

[](#install)

```
composer require c3systems/c3-sdk-php
```

Usage
-----

[](#usage)

Here's a hello world example

```
require_once(__DIR__.'/../vendor/autoload.php');
use SDK\Client;
use SDK\Util;

class App {
  public $client;

  function __construct() {
    $this->client = new Client;
  }

  function setItem($key, $value) {
    $this->client->state()->set(Util::string2ByteArray($key), Util::string2ByteArray($value));
  }

  function getItem($key) {
    $result = $this->client->state()->get(Util::string2ByteArray($key));
    return Util::byteArray2String($result->value);
  }
}

$app = new App;
$app->client->registerMethod('setItem', ['string', 'string'], array($app, 'setItem'));
$app->client->registerMethod('getItem', ['string'], array($app, 'getItem'));
$app->client->serve();
```

Test
----

[](#test)

```
make test
```

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% 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 ~4 days

Total

6

Last Release

2780d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/357358cf02f76ab224609fe38ddf8d228ae9175371d2882feb733c87a1f694ba?d=identicon)[miguelmota](/maintainers/miguelmota)

---

Top Contributors

[![miguelmota](https://avatars.githubusercontent.com/u/168240?v=4)](https://github.com/miguelmota "miguelmota (14 commits)")[![adam-hanna](https://avatars.githubusercontent.com/u/5436950?v=4)](https://github.com/adam-hanna "adam-hanna (1 commits)")

---

Tags

blockchainc3layer2phpsdk

### Embed Badge

![Health badge](/badges/c3systems-c3-sdk-php/health.svg)

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

###  Alternatives

[ramsey/uuid

A PHP library for generating and working with universally unique identifiers (UUIDs).

12.6k700.2M3.3k](/packages/ramsey-uuid)[brick/money

Money and currency library

1.9k37.9M102](/packages/brick-money)[react/stream

Event-driven readable and writable streams for non-blocking I/O in ReactPHP

688126.8M194](/packages/react-stream)[react/child-process

Event-driven library for executing child processes with ReactPHP.

34076.1M136](/packages/react-child-process)[pascaldevink/shortuuid

PHP 7.4+ library that generates concise, unambiguous, URL-safe UUIDs

5951.8M15](/packages/pascaldevink-shortuuid)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

374468.4k51](/packages/flow-php-etl)

PHPackages © 2026

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