pitchanon / gitlab-notify
Gitlab Line Notify
dev-master
2018-11-08 10:42 UTC
Requires
- php: ^7.1
- pitchanon/line: dev-master
This package is auto-updated.
Last update: 2024-09-08 23:51:08 UTC
README
安装
在您的composer.json
文件中添加依赖。
"require": { "pitchanon/line": "dev-master", "pitchanon/gitlab-notify": "dev-master" }
然后运行composer install
或composer update
来下载并更新自动加载器
Composer命令
$ composer require pitchanon/line $ composer require pitchanon/gitlab-notify
如何使用
$entityBody = "{"event_name":"push"}"; $line = new Pitchanon\GitlabNotify\GitlabNotify(); $line::Config(["token" => "xxxxx"]); $res = $line::Notify($entityBody);