PHPackages                             bootdesk/chat-sdk-adapter-discord - 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. bootdesk/chat-sdk-adapter-discord

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bootdesk/chat-sdk-adapter-discord
=================================

Discord adapter for bootdesk/chat-sdk-core

0.4.44(2w ago)013MITPHPPHP &gt;=8.2

Since Jun 4Pushed 1w agoCompare

[ Source](https://github.com/bootdesk/chat-sdk-adapter-discord)[ Packagist](https://packagist.org/packages/bootdesk/chat-sdk-adapter-discord)[ RSS](/packages/bootdesk-chat-sdk-adapter-discord/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (20)Versions (38)Used By (0)

bootdesk/chat-sdk-adapter-discord
=================================

[](#bootdeskchat-sdk-adapter-discord)

Discord adapter for the laravel-bootdesk multi-platform messaging framework.

Install
-------

[](#install)

```
composer require bootdesk/chat-sdk-adapter-discord
```

Requires a PSR-18 HTTP client (`guzzlehttp/guzzle`, `symfony/http-client`, etc.) and a PSR-17 factory (`nyholm/psr7` bundled).

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

[](#configuration)

VariableDescriptionExample`bot_token`Discord Bot Token`MTk4NjIy...``http_client`PSR-18 HTTP client instance`new GuzzleHttp\Client``public_key`Application Public Key`abcdef123456...``application_id`Discord Application ID`1234567890````
use BootDesk\ChatSDK\Discord\DiscordAdapter;

$adapter = new DiscordAdapter(
    botToken: env('DISCORD_BOT_TOKEN'),
    httpClient: new \GuzzleHttp\Client,
    publicKey: env('DISCORD_PUBLIC_KEY'),
    applicationId: env('DISCORD_APPLICATION_ID'),
);
```

### Laravel

[](#laravel)

The `ChatServiceProvider` auto-binds `Psr\Http\Client\ClientInterface` to `GuzzleHttp\Client`. Add to `config/chat.php`:

```
'discord' => [
    'bot_token'      => env('DISCORD_BOT_TOKEN'),
    'public_key'     => env('DISCORD_PUBLIC_KEY'),
    'application_id' => env('DISCORD_APPLICATION_ID'),
],
```

Quick Example
-------------

[](#quick-example)

```
// Post a message to a Discord channel
$adapter->postMessage('discord:1234567890', 'Hello from laravel-bootdesk!');

// Reply to a specific message
$adapter->postMessage('discord:1234567890:9876543210', 'Thread reply');
```

Thread ID Format
----------------

[](#thread-id-format)

FormatDescription`discord:{channelId}`Channel message`discord:{channelId}:{messageId}`Reply to a specific messageWebhook
-------

[](#webhook)

Discord sends Interactions via POST to your endpoint. Verify requests using Ed25519 signature verification with the public key.

Feature Matrix
--------------

[](#feature-matrix)

FeatureSupportedPost messages✓Edit messages✓Delete messages✓Reactions✓Slash commands✓Typing indicator✓Fetch messages✓Fetch thread info✓Fetch channel info✓Get user✓Open DM✗Stream✓Notes
-----

[](#notes)

Supports slash commands, buttons, select menus, modals, and application commands.

Documentationn
--------------

[](#documentationn)

Full API documentation:

License
-------

[](#license)

MIT

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance97

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

37

Last Release

14d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3874705?v=4)[Vin](/maintainers/tryvin)[@tryvin](https://github.com/tryvin)

---

Top Contributors

[![tryvin](https://avatars.githubusercontent.com/u/3874705?v=4)](https://github.com/tryvin "tryvin (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bootdesk-chat-sdk-adapter-discord/health.svg)

```
[![Health](https://phpackages.com/badges/bootdesk-chat-sdk-adapter-discord/health.svg)](https://phpackages.com/packages/bootdesk-chat-sdk-adapter-discord)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k16](/packages/tempest-framework)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

1003.9M50](/packages/getbrevo-brevo-php)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M425](/packages/drupal-core-recommended)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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