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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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


All versions of chat-sdk-adapter-web with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
bootdesk/chat-sdk-core Version 0.4.11
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bootdesk/chat-sdk-adapter-web contains the following files

Loading the files please wait ...