Download the PHP package tei187/github-discord-webhook without Composer
On this page you can find all versions of the php package tei187/github-discord-webhook. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package github-discord-webhook
Github-Discord Webhook
This project implements a webhook integration between GitHub and Discord. It allows to handle multiple webhooks for different repositories and Discord channels, ran from the same script.
Features
- Seamless integration between GitHub and Discord
- Customizable notifications for different GitHub events
- Easy setup and configuration
Setup
- Register a new webhook in your Discord server. You can find more information on how to do this here.
-
Configure your webhook in the
config\webhooks.php
file. - Set up rest of the config files (or if you want to run default, just remove the
.example
extensions). - Register a new webhook in your GitHub repository. You can find more information about registering webhooks here.
- Enter your payload URL. If you have this package hosted i.e. under
http://example.com/webhook
, then the payload URL should be . - Select as the content type.
- Pick you secret and make sure to copy it somewhere, alternatively update the 'secret' key in
config\webhooks.php
. - Alternatively pick which events you want to listen to.
- Enter your payload URL. If you have this package hosted i.e. under
- Believe it or not, that's it.
More settings
All configuration options are located in config
directory. There you can set up classes for handlinng messages, payloads and webhooks. Also, there's a configuration file setting allowed events and actions.
Usage
Once set up, you'll receive notifications in your Discord server for events concerning:
- Commits
- Tags
- Releases
- Branches
- Forks
Future plans include:
- Pull requests
- Issues
- Comments
- And more!
License
This project is licensed under the MIT License - see the LICENSE file for details.