Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 2.35 KB

README.md

File metadata and controls

68 lines (52 loc) · 2.35 KB

DiscordAPI Web

Built Using PHPDiscordSDK

Build Status Total Downloads

## About DiscordAPIWeb

DiscordAPIWeb is a web application framework that allows you to experiment with DiscordAPI and inspect each of the response. Allowing you to build bots faster. This also demonstrates on how you can communicate with discord from web panel allowing you to build rich dashboards using PHPDiscordSDK

Requires

  • PHPDiscordSDK (Checkout my library PHPDiscordSDK)
  • Node.js >= 10
  • Composer
  • PHP >=7.3
  • PHP >=7.3
  • Laravel >=8.X

Demonstration

DiscordAPIDemo.mp4

PHPDiscordSDK API Docs

#### Install PHPDiscordSDK in the root of project
$ composer require phpdiscordsdk/phpdiscordsdk 
#### Install Project Dependencies in the root of project
$ composer install 
#### Install Socket Server Dependencies
$ cd projectroot/server/socket/ && composer install
#### Autoload clases
$ composer dump-autolaod

Start the server

#### In the root of project, start the bot
$ php artisan start:bot "<bot token>"
#### In the server folder, start socket server
$ cd projectroot/server/socket && node app.js

APIs

Open up the browser Ensure the PORT 3026 and 3025 are open and free

http://localhost/phpdiscordsdk/public

Documentation

Complete Docs of PHPDiscordSDK

Project is Open for contributions as there are more number of APIs to be added, please feel free to fork

Contribution Guide

  • All Pull requests should be from a Local Branch of Develop
  • Be sure to check out Develop Branch
  • Any other pull requests to master or other branches will be rejected

©MIT License