PHPackages                             skald/skald-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. [API Development](/categories/api)
4. /
5. skald/skald-php

ActiveLibrary[API Development](/categories/api)

skald/skald-php
===============

Official PHP SDK for Skald API - Knowledge base management with semantic search, AI chat, and document generation

1.0.2(7mo ago)13[2 PRs](https://github.com/skaldlabs/skald-php/pulls)MITPHPPHP ^8.1CI passing

Since Oct 16Pushed 5mo agoCompare

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

READMEChangelogDependencies (3)Versions (8)Used By (0)

Skald PHP SDK
=============

[](#skald-php-sdk)

Official PHP SDK for [Skald API](https://useskald.com) - A knowledge base management system that automatically processes memos (summarizes, chunks, and indexes them) and provides semantic search, AI chat, and document generation capabilities.

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![PHP Version](https://camo.githubusercontent.com/cc9cdea9aa96b40a822425e981b0a030e3371202973c7d57b74e8e99834f81dc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d626c7565)](https://www.php.net/)

Features
--------

[](#features)

- **Memo Management**: Create and store memos with automatic processing (summarization, chunking, indexing)
- **Semantic Search**: Search through your knowledge base using vector search or title matching
- **AI Chat**: Ask questions about your knowledge base with AI-powered responses and inline citations
- **Document Generation**: Generate documents based on prompts with context from your knowledge base
- **Streaming Support**: Real-time streaming for chat and document generation operations
- **Type-Safe**: Fully typed with PHP 8.1+ features including enums and readonly properties

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

[](#requirements)

- PHP 8.1 or higher
- cURL extension
- JSON extension

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

[](#installation)

Install via Composer:

```
composer require skald/skald-php
```

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

[](#quick-start)

```
