PHP code example of bennetgallein / discord-gitlab
1. Go to this page and download the library: Download bennetgallein/discord-gitlab library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bennetgallein / discord-gitlab example snippets
namespace DiscordGitlab;
p://input');
$secret = "YOUR GITLAB SECRET HERE"; // If you didn't
$gitlab = new \DiscordGitlab\GitLab("WebhookURL_HERE", $input, $secret);