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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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

2 hours ago