PHPackages                             jabirchall/botman-driver-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. [API Development](/categories/api)
4. /
5. jabirchall/botman-driver-discord

ActiveLibrary[API Development](/categories/api)

jabirchall/botman-driver-discord
================================

A discord driver for botman

1.2.0(5y ago)163939[4 issues](https://github.com/JABirchall/botman-driver-discord/issues)proprietaryPHPPHP &gt;=7.1

Since Mar 23Pushed 4y ago2 watchersCompare

[ Source](https://github.com/JABirchall/botman-driver-discord)[ Packagist](https://packagist.org/packages/jabirchall/botman-driver-discord)[ RSS](/packages/jabirchall-botman-driver-discord/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

botman-driver-discord
=====================

[](#botman-driver-discord)

Getting Started
---------------

[](#getting-started)

Require the driver into your botman project `composer require jabirchall/botman-driver-discord`

Example

```
$config = [
    'discord' =>[
        'token' => "your token",
        'options' => [
            'disableClones' => true,
            'disableEveryone' => true,
            'fetchAllMembers' => false,
            'messageCache' => true,
            'messageCacheLifetime' => 600,
            'messageSweepInterval' => 600,
            'presenceCache' => false,
            'userSweepInterval' => 600,
            'ws.disabledEvents' => [],
        ],
    ],
];

// Load the driver(s) you want to use
DriverManager::loadDriver(\JABirchall\BotMan\Drivers\Discord\DiscordDriver::class);
$loop = Factory::create();
$botman = BotManFactory::createForDiscord($config, $loop);

// Give the bot something to listen for.
$botman->hears('hello', function (BotMan $bot) {
    $bot->reply('Hello yourself.');
});

// start a convosation
$botman->hears('How are you', function (BotMan $bot) {
    $bot->ask("I'm a bot I have no feelings, How about you?", function (Answer $answer) use ($bot) {
        $bot->reply("Thats great, you said: ". $answer->getText());
    });
});

// Start listening
$botman->listen();
$loop->run();
```

Prerequisities
--------------

[](#prerequisities)

- Botman 2.\*
- PHP version 7.1+
- mbstring
- A discord bot token

Contributing
------------

[](#contributing)

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

Authors
-------

[](#authors)

- **JABirchall** - *Maintainer*

See also the list of [contributors](https://github.com/JABirchall/NimdaDiscord/graphs/contributors) who participated in this project.

License
-------

[](#license)

This project is licensed under GNU AGPLv3 License - see the [LICENSE](LICENSE) file for details

Acknowledgments
---------------

[](#acknowledgments)

- [CharlotteDunois](https://github.com/CharlotteDunois)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.2% 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 ~152 days

Recently: every ~190 days

Total

6

Last Release

1846d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ac56a7bdf0c7e536ba714e25cda284b305c8da4e7b1f91a46c8d4bcce54ba64?d=identicon)[JABirchall](/maintainers/JABirchall)

---

Top Contributors

[![JABirchall](https://avatars.githubusercontent.com/u/3427459?v=4)](https://github.com/JABirchall "JABirchall (30 commits)")[![feralheart](https://avatars.githubusercontent.com/u/3487559?v=4)](https://github.com/feralheart "feralheart (2 commits)")[![chinleung](https://avatars.githubusercontent.com/u/19669331?v=4)](https://github.com/chinleung "chinleung (1 commits)")[![tommy-bolger](https://avatars.githubusercontent.com/u/714595?v=4)](https://github.com/tommy-bolger "tommy-bolger (1 commits)")

---

Tags

botmanbotman-driverdiscord

### Embed Badge

![Health badge](/badges/jabirchall-botman-driver-discord/health.svg)

```
[![Health](https://phpackages.com/badges/jabirchall-botman-driver-discord/health.svg)](https://phpackages.com/packages/jabirchall-botman-driver-discord)
```

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[spatie/laravel-route-discovery

Auto register routes using PHP attributes

23645.0k2](/packages/spatie-laravel-route-discovery)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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