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

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

albocode/ccatphp-sdk
====================

Cheshire Cat PHP Sdk

0.2.4(1y ago)71.3k4[1 issues](https://github.com/AlboCode/ccatphp-sdk/issues)PHP

Since Nov 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/AlboCode/ccatphp-sdk)[ Packagist](https://packagist.org/packages/albocode/ccatphp-sdk)[ RSS](/packages/albocode-ccatphp-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (20)Used By (0)

ccatphp-sdk
===========

[](#ccatphp-sdk)

---

**CCat PHP SDK (Cheshire cat PHP SDK)** is a library to help the implementation of [Cheshire Cat](https://github.com/cheshire-cat-ai/core) on a PHP Project

- [Installation](#installation)
- [Usage](#usage)

Installation
------------

[](#installation)

To install CCatPHP-SDK you can run this command:

```
composer require albocode/ccatphp-sdk
```

Usage
-----

[](#usage)

Initialization and usage:

```
use Albocode\CcatphpSdk\CCatClient;
use Albocode\CcatphpSdk\Clients\HttpClient;
use Albocode\CcatphpSdk\Clients\WSClient;

$cCatClient = new CCatClient(
new WSClient('cheshire_cat_core', 1865, null),
new HttpClient('cheshire_cat_core', 1865, null)
);
```

Send a message to the websocket:

```
$notificationClosure = function (string $message) {
 // handle websocket notification, like chat token stream
}

// result is the result of the message
$result = $cCatClient->sendMessage(
new Message("Hello world!", 'user', []),  // message body
$notificationClosure // websocket notification closure handle
);
```

Load data to the rabbit hole:

```
//file
$promise = $this->client->rabbitHole($uploadedFile->getPathname(), null, null);
$promise->wait();

//url
$promise = $this->client->rabbitHoleWeb($url, null,null);
$promise->wait();
```

Memory management utilities:

```
$this->client->getMemoryCollection(); // get number of vectors in the working memory
$this->client->getMemoryRecall("HELLO"); // recall memories by text

//delete memory points by metadata, like this example delete by source
$this->client->deleteDeclarativeMemoryByMetadata(["source" => $url]);
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.2% 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 ~23 days

Recently: every ~72 days

Total

17

Last Release

544d ago

### Community

Maintainers

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

---

Top Contributors

[![AlboCode](https://avatars.githubusercontent.com/u/25480941?v=4)](https://github.com/AlboCode "AlboCode (50 commits)")[![giovannialbero1992](https://avatars.githubusercontent.com/u/11536977?v=4)](https://github.com/giovannialbero1992 "giovannialbero1992 (1 commits)")[![valentimarco](https://avatars.githubusercontent.com/u/26926690?v=4)](https://github.com/valentimarco "valentimarco (1 commits)")

---

Tags

cheshire-catphp-library

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[symfony/ai-platform

PHP library for interacting with AI platform provider.

51927.7k136](/packages/symfony-ai-platform)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[symfony/ai-agent

PHP library for building agentic applications.

30536.7k44](/packages/symfony-ai-agent)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)

PHPackages © 2026

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