Guides and reference

DiscordPHP runs on ReactPHP: nearly every call returns a promise, and your bot lives inside an event loop. If promises and the event loop are new to you, read about them first. Everything below builds on them.

The DiscordPHP guide

Start with the guide's introduction, which covers requirements, installation and tips, then work through the topics.

Class references

Every class, method and property, generated from the source's documentation.

The UML diagrams on this site show how the classes fit together, and which class sends each of Discord's routes.

Voice

DiscordPHP-Voice keeps its own guides, with diagrams, next to its code.

More from the project

Discord's documentation