PHPackages                             mikewolfxyou/php-cognee-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. mikewolfxyou/php-cognee-sdk

ActiveLibrary[API Development](/categories/api)

mikewolfxyou/php-cognee-sdk
===========================

Unofficial PHP SDK for Cognee - AI Memory Platform

v1.0.1(4mo ago)021[1 PRs](https://github.com/mikewolfxyou/php-cognee-sdk/pulls)MITPHPPHP ^8.4

Since Dec 16Pushed 4mo agoCompare

[ Source](https://github.com/mikewolfxyou/php-cognee-sdk)[ Packagist](https://packagist.org/packages/mikewolfxyou/php-cognee-sdk)[ Docs](https://github.com/mikewolfxyou/php-cognee-sdk)[ RSS](/packages/mikewolfxyou-php-cognee-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Cognee PHP SDK (Unofficial)
===========================

[](#cognee-php-sdk-unofficial)

**Unofficial** PHP SDK for [Cognee](https://github.com/topoteretes/cognee) - Transform raw data into persistent AI memory for agents.

> **Note:** This is a community-maintained SDK for personal use and is not officially affiliated with or endorsed by the Cognee project.

[![PHP Version](https://camo.githubusercontent.com/504ead6a583c68d8d62d7bfceed24e569ca613d7a36bed380281b3455b5c7b31/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e342d626c7565)](https://www.php.net/)[![PSR-12](https://camo.githubusercontent.com/7ceaf82751d07e9abcb62b1d54928fffe0eafdfa064729dbf1590b090d792436/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532307374796c652d5053522d2d31322d677265656e)](https://www.php-fig.org/psr/psr-12/)[![License](https://camo.githubusercontent.com/b8cadaa967891081f8f165695470689986c028821dd8a040132f6e661795dc0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c7565)](LICENSE)[![Tests](https://camo.githubusercontent.com/d7caa77c8cc9787fdc12878dc18f1d1125f57c94904f1af239898fb8321f74f5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74657374732d343625323070617373696e672d627269676874677265656e)](https://github.com/mikewolfxyou/php-cognee-sdk)[![Unofficial](https://camo.githubusercontent.com/a4cb6326ea2dc04157ac891b3d2c5e37229286aa4dc6080da931c23ca7252d4c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d756e6f6666696369616c2d6f72616e6765)](https://github.com/mikewolfxyou/php-cognee-sdk)

Features
--------

[](#features)

- Full API coverage for Cognee self-hosted instances
- Type-safe models and requests using PHP 8.4 features
- Comprehensive exception handling
- PSR-12 compliant code
- > 90% test coverage
- Automatic retry with exponential backoff
- Resource-based architecture for clean API

Requirements
------------

[](#requirements)

- PHP 8.4 or higher
- Composer
- A running Cognee instance

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

[](#installation)

Install the SDK using Composer:

```
composer require mikewolfxyou/php-cognee-sdk
```

Quick Start
-----------

[](#quick-start)

```
