PHPackages                             togomq/togomq-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. [Queues &amp; Workers](/categories/queues)
4. /
5. togomq/togomq-sdk

ActiveLibrary[Queues &amp; Workers](/categories/queues)

togomq/togomq-sdk
=================

Official PHP SDK for TogoMQ - A modern, high-performance message queue service

v0.0.1(6mo ago)00MITPHPPHP ^8.1CI passing

Since Nov 7Pushed 6mo ago1 watchersCompare

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

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

TogoMQ SDK for PHP
==================

[](#togomq-sdk-for-php)

[![CI](https://github.com/TogoMQ/togomq-sdk-php/actions/workflows/ci.yml/badge.svg)](https://github.com/TogoMQ/togomq-sdk-php/actions/workflows/ci.yml)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

The official PHP SDK for [TogoMQ](https://togomq.io/) - a modern, high-performance message queue service. This SDK provides a simple and intuitive API for publishing and subscribing to messages using gRPC streaming.

Features
--------

[](#features)

- 🚀 **High Performance**: Built on gRPC for efficient communication
- 📡 **Streaming Support**: Native support for streaming pub/sub operations
- 🔒 **Secure**: TLS encryption and token-based authentication
- 🎯 **Simple API**: Easy-to-use client with fluent configuration
- 📝 **Comprehensive Logging**: Configurable log levels for debugging
- ⚡ **Modern PHP**: Requires PHP 8.1+ with strict typing
- ✅ **Well Tested**: Comprehensive test coverage

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

[](#requirements)

- PHP 8.1 or higher
- gRPC PHP extension
- Access to a TogoMQ server
- Valid TogoMQ authentication token

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

[](#installation)

Install the SDK using Composer:

```
composer require togomq/togomq-sdk
```

Make sure you have the gRPC PHP extension installed:

```
pecl install grpc
```

Configuration
-------------

[](#configuration)

The SDK supports flexible configuration with sensible defaults:

### Default Configuration

[](#default-configuration)

```
