Download the PHP package bootdesk/chat-sdk-adapter-web without Composer
On this page you can find all versions of the php package bootdesk/chat-sdk-adapter-web. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bootdesk/chat-sdk-adapter-web
More information about bootdesk/chat-sdk-adapter-web
Files in bootdesk/chat-sdk-adapter-web
Package chat-sdk-adapter-web
Short Description Web adapter for bootdesk/chat-sdk-core — browser chat UI via JSON request/response
License MIT
Informations about the package chat-sdk-adapter-web
bootdesk/chat-sdk-adapter-web
Generic web/REST adapter for the laravel-bootdesk multi-platform messaging framework.
Install
Configuration
Laravel config (config/chat.php):
The verifySignature() method receives the PSR-7 request and must return true for valid, or an error message string for invalid. Called before user auth.
Quick Example
Thread ID Format
| Format | Description |
|---|---|
web:{userId}:{conversationId} |
User-conversation threading |
Webhook
Accepts POST requests with a JSON body:
Authentication via $getUser closure — receives PSR-7 ServerRequestInterface, must return ['id' => string, 'name' => ?string] or null for 401.
Feature Matrix
| Feature | Supported |
|---|---|
| Post messages | ✓ |
| Edit messages | ✓ |
| Delete messages | ✓ |
| Reactions | ✓ |
| Typing indicator | ✓ |
| Fetch messages | ✓ |
| Fetch thread info | ✓ |
| Fetch channel info | ✗ |
| Get user | ✗ |
| Open DM | ✓ |
| Stream | ✓ |
| Broadcasting | ✓ |
Broadcasting
WebAdapter supports real-time event broadcasting via BroadcastAdapter:
Broadcast events: MessagePostedEvent, MessageEditedEvent, MessageDeletedEvent, ReactionAddedEvent, ReactionRemovedEvent, TypingStartedEvent, StreamingChunkEvent, DirectMessageRequestedEvent.
User-specific broadcasts (DMs, typing in DMs, streaming) use broadcastToUser() with PrivateChannel. Thread events use broadcast() with public Channel.
Notes
Generic adapter for web/REST integrations. Responses returned via createResponse() as JSON: {id, role: "assistant", text, events: []}.
Documentationn
Full API documentation: https://bootdesk.github.io/chat-sdk
License
MIT