PHPackages                             phpdiscordsdk/phpdiscordsdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. phpdiscordsdk/phpdiscordsdk

ActiveLibrary

phpdiscordsdk/phpdiscordsdk
===========================

A Light Weight PHP Discord SDK Library to build Discord Bots with Web Panel

v1.1(4y ago)1222MITPHPPHP &gt;=7.0

Since Aug 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hobsRKM/PHPDiscordSDK)[ Packagist](https://packagist.org/packages/phpdiscordsdk/phpdiscordsdk)[ RSS](/packages/phpdiscordsdk-phpdiscordsdk/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (8)Versions (3)Used By (0)

[![build](https://github.com/hobsRKM/PHPDiscordSDK/actions/workflows/php.yml/badge.svg?branch=master)](https://github.com/hobsRKM/PHPDiscordSDK/actions/workflows/php.yml) [![Codacy Security Scan](https://github.com/hobsRKM/PHPDiscordSDK/actions/workflows/codacy-analysis.yml/badge.svg?branch=master)](https://github.com/hobsRKM/PHPDiscordSDK/actions/workflows/codacy-analysis.yml)

PHPDiscordSDK
=============

[](#phpdiscordsdk)

A Light Weight PHP Discord SDK Library to build Discord Bots with Web Panel

PHPDiscordSDK
-------------

[](#phpdiscordsdk-1)

A DiscordSDK to build Discord Bots using PHP, with Web Panel.

1. [Installation](#Installation)
2. [Getting Started](#getting-started)
3. [Listening to Bot Events](#botphp)
4. [APIs](#APIs)
    1. [SendMessage](#SendMessage)
    2. [GetChannelDetails](#GetChannelDetails)
    3. [UpdateChannelDetails](#UpdateChannelDetails)
    4. [DeletChannel](#DeletChannel)
    5. [Activity](#Presence)
    6. Visit documentation site for complete list

#### Documentation

[](#documentation)

**[Complete Docs of PHPDiscordSDK](https://phpdiscordsdk.gitbook.io/)**

#### API Demo with Web Panel Integration

[](#api-demo-with-web-panel-integration)

**[discordapidemo.com](https://discordapidemo.com/)**

### Installation

[](#installation)

- Requires **PHP &gt;=7.0**

```
composer require phpdiscordsdk/phpdiscordsdk

```

### Getting Started

[](#getting-started)

> To start the bot you need to start it using **CLI (Command Line)**
>
> Once the bot is up and running, you can start using the [APIs](apis)
>
> You can also use the APIs outside of bot event listener , but it is recomended to first start the bot using CLI before consuming the APIs
>
> If you want to integerate into a framework and communicate with bot you can implement something like Web Panel
>
> See Example [(Web Panel)](https://github.com/hobsRKM/DiscordAPIWeb) (Supports both Send and Recieve)

**Start the bot**

### `$ php bot.php`

[](#-php-botphp)

### bot.php

[](#botphp)

```
