Skip to content

PHP script that formats and forwards incoming GitLab webhook requests to Discord. Supports a subset of 14.0.

Notifications You must be signed in to change notification settings

jameds/gitlab2discord.php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 

Repository files navigation

gitlab2discord is a PHP script that parses GitLab (14.0) webhook requests and
formats a Discord webhook request.

The php script requires two parameters in the query string, webhook "id" and
"token".
A request may then be sent to https://discordapp.com/api/webhooks/id/token

Optional parameters:

display_name=string - override the webhook name
use_project_avatar
custom_avatar=string
multiuse - includes the project namespace in the footer of the webhook

Supported events:

Push
Tag Push
Note (except Snippets)
Confidential Note
Issue
Confidential Issue
Merge Request
Wiki Page

About

PHP script that formats and forwards incoming GitLab webhook requests to Discord. Supports a subset of 14.0.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages