PHPackages                             hivellm/synap-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. [Caching](/categories/caching)
4. /
5. hivellm/synap-sdk

ActiveLibrary[Caching](/categories/caching)

hivellm/synap-sdk
=================

PHP SDK for Synap - High-Performance In-Memory Key-Value Store &amp; Message Broker

v1.2.2(yesterday)01↑2900%Apache-2.0PHP ^8.2

Since Jul 19Compare

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

READMEChangelog (1)Dependencies (7)Versions (5)Used By (0)

Synap PHP SDK
=============

[](#synap-php-sdk)

Official PHP client library for [Synap](https://github.com/hivellm/synap) - High-Performance In-Memory Key-Value Store &amp; Message Broker.

Features
--------

[](#features)

- 💾 **Key-Value Store**: Fast in-memory KV operations with TTL support
- 📨 **Message Queues**: RabbitMQ-style queues with ACK/NACK
- 📡 **Event Streams**: Kafka-style event streams with offset tracking
- 🔔 **Pub/Sub**: Topic-based messaging with wildcards
- ⚡ **StreamableHTTP Protocol**: Unified endpoint for all operations
- 🛡️ **Type-Safe**: Leverages PHP 8.2+ type system for correctness
- 📦 **PSR-4**: Standard autoloading and best practices

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

[](#requirements)

- PHP 8.2 or higher
- Composer
- Synap Server running

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

[](#installation)

```
composer require hivehub/synap-sdk
```

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

[](#quick-start)

```
