pitchanon/gitlab-notify

Gitlab Line Notify

dev-master 2018-11-08 10:42 UTC

This package is auto-updated.

Last update: 2024-12-09 00:23:09 UTC


README

Installation

Require it in your composer.json file.

"require": {
    "pitchanon/line": "dev-master",
    "pitchanon/gitlab-notify": "dev-master"
  }

You'll then need to run composer install or composer update to download it and have the autoloader updated

Composer command

$ composer require pitchanon/line
$ composer require pitchanon/gitlab-notify

How to use

$entityBody = "{"event_name":"push"}";

$line = new Pitchanon\GitlabNotify\GitlabNotify();
$line::Config(["token" => "xxxxx"]);
$res = $line::Notify($entityBody);