DiscordPHP

The async PHP library for building Discord bots, on ReactPHP - plus its HTTP transport, DAVE-encrypted voice, and extension libraries.

Contribute


Become a financial contributor.

Financial Contributions

Recurring contribution
Backer

Become a backer for $5.00 per month and support us

Starts at
$5 USD / month
Recurring contribution
Sponsor

Become a sponsor for $100.00 per month and support us

Starts at
$100 USD / month
Custom contribution
Donation
Make a custom one-time or recurring contribution.

DiscordPHP is all of us

Our contributors 1

Thank you for supporting DiscordPHP.

Connect


Let’s get the ball rolling!

News from DiscordPHP

Updates on our activities and progress.

Recent improvements to DiscordPHP

Thank you for supporting DiscordPHP. Recent releases include improvements to interactions, message validation, and OAuth2: OAuth2 message history: v10.66.2 adds Session::getChannelMessages() for OAuth2 message history.Autocomplete callbacks...
Read more
Published on October 11, 2026 by Valgorithms

About


DiscordPHP is an open-source PHP library for building Discord bots. Built on ReactPHP, it provides asynchronous access to Discord's REST, gateway, and voice APIs. Bots run as long-running command-line processes and use events and promises to work with Discord.

The current package requires PHP 8.1.2 or later within PHP 8.x. Install it with Composer: composer require team-reflex/discord-php.

Start with the documentation and class reference, browse the source and examples, and follow the release notes for changes. For community help, join DiscordPHP Community. Report reproducible bugs through GitHub issues.

Code contributions, bug reports, tests, and documentation improvements are welcome. Thank you to everyone who contributes to and supports DiscordPHP.

Our team