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
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
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

2026-07-01