DiscordPHP is a PHP library for building Discord bots and integrations with Discord’s REST, gateway, and voice APIs. It is built around ReactPHP components, so developers need to understand event loops, promises, and long-running CLI processes. The library is not designed to run like a traditional web request inside Apache or Nginx. Instead, it runs as a persistent PHP process that connects to Discord, listens for events, and reacts through handlers. It supports Composer installation, intents, examples, documentation, community tutorials, and framework-agnostic bot development. DiscordPHP is best suited for PHP developers who want to build real-time Discord applications without switching to JavaScript, Python, or Go.

Features

  • PHP Discord API wrapper
  • REST, gateway, and voice support
  • ReactPHP event-loop foundation
  • Composer package installation
  • CLI-based bot runtime
  • Examples and community documentation

Project Samples

Project Activity

See All Activity >

Categories

Chat

License

MIT License

Follow DiscordPHP

DiscordPHP Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DiscordPHP!

Additional Project Details

Operating Systems

Windows

Programming Language

PHP

Related Categories

PHP Chat Software

Registered

7 hours ago