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 today

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 62% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity42

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

590d 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.6M3.0k](/packages/craftcms-cms)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M507](/packages/pimcore-pimcore)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k12](/packages/2lenet-crudit-bundle)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

12310.5M130](/packages/web-auth-webauthn-lib)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

515100.5k3](/packages/web-auth-webauthn-framework)

PHPackages © 2026

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