PHPackages                             bootdesk/chat-sdk-botman-compat - 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-botman-compat

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

bootdesk/chat-sdk-botman-compat
===============================

BotMan compatibility shim for bootdesk

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

Since Jun 4Pushed 1w agoCompare

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

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

bootdesk/chat-sdk-botman-compat
===============================

[](#bootdeskchat-sdk-botman-compat)

BotMan compatibility shim. Drop-in replacement for `botman/botman` using laravel-bootdesk under the hood. No botman dependency required.

Install
-------

[](#install)

```
composer require bootdesk/chat-sdk-botman-compat
```

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

[](#quick-start)

```
use BotMan\BotMan\BotManFactory;
use BootDesk\ChatSDK\Core\Chat;

$bot = BotManFactory::createForChat($chat);

$bot->hears('hello', function ($message, $bot) {
    $bot->reply('Hello!');
});

$bot->hears('my name is {name}', function ($message, $bot, $params) {
    $bot->reply("Hi {$params['name']}!");
});

$bot->fallback(function ($message, $bot) {
    $bot->reply("I don't understand.");
});
```

API Mapping
-----------

[](#api-mapping)

BotManlaravel-bootdesk`hears(pattern, callback)``Chat::onNewMessage(pattern, callback)``reply(message)``Thread::post(message)``say(message, threadId)``Chat::thread(id)->post(message)``fallback(callback)`Unmatched message handler`ask(question, callback)`Next-message callback pattern`startConversation(conv)``ConversationManager::start()``group(attrs, callback)`Register handlers in group`listen()`No-op (webhook-driven)`getUser()`Message author`typesAndWaits(seconds)``Thread::startTyping()`Question / Answer
-----------------

[](#question--answer)

```
use BotMan\BotMan\Messages\Outgoing\Question;
use BotMan\BotMan\Messages\Outgoing\Button;

$question = Question::create('Continue?')
    ->fallback('Choose yes or no')
    ->callbackId('continue')
    ->addButton(Button::create('Yes')->value('yes'))
    ->addButton(Button::create('No')->value('no'));

$bot->ask($question, function ($answer) use ($bot) {
    if ($answer->isInteractiveMessageReply()) {
        $bot->reply("You chose: {$answer->getValue()}");
    }
});
```

Conversations
-------------

[](#conversations)

```
use BotMan\BotMan\Conversations\Conversation;

class OnboardingConversation extends Conversation
{
    public function run(): void
    {
        $this->ask('What is your name?', function ($answer) {
            $name = $answer->getText();
            $this->say("Welcome, {$name}!");
        });
    }
}

$bot->startConversation(new OnboardingConversation);
```

Attachments
-----------

[](#attachments)

```
use BotMan\BotMan\Messages\Outgoing\OutgoingMessage;
use BotMan\BotMan\Messages\Attachments\Image;
use BotMan\BotMan\Messages\Attachments\Video;
use BotMan\BotMan\Messages\Attachments\Audio;
use BotMan\BotMan\Messages\Attachments\File;
use BotMan\BotMan\Messages\Attachments\Location;

// Image
$message = OutgoingMessage::create('Here is a photo')
    ->withAttachment(new Image('https://example.com/photo.jpg'));

// Video
$message = OutgoingMessage::create('Check this out')
    ->withAttachment(new Video('https://example.com/video.mp4'));

// Audio
$message = OutgoingMessage::create('Listen to this')
    ->withAttachment(new Audio('https://example.com/audio.mp3'));

// File
$message = OutgoingMessage::create('Document attached')
    ->withAttachment(new File('https://example.com/doc.pdf'));

// Location
$message = OutgoingMessage::create('We are here')
    ->withAttachment(new Location(40.7128, -74.0060));

$bot->reply($message);
```

Not Supported
-------------

[](#not-supported)

- **`sendRequest()`** -- no low-level platform API passthrough
- **`listen()`** -- no-op; laravel-bootdesk is webhook-driven
- **Driver-specific features** -- only cross-platform abstractions are available

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)")

### Embed Badge

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

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

PHPackages © 2026

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