Skip to content

sy-records/webhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webhooks

WebHook Handler for GitHub, Gitee, Gitea, GitLab and Gogs.

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Install

composer require sy-records/webhooks

Usage

use Luffy\WebHook\Payload;
use Luffy\WebHook\Interfaces\HandlerInterface;

// 如果存在实现MessageInterface的request对象,可以传入
// 不传则从全局变量中获取
$payload = new Payload();
/** @var HandlerInterface $handler */
$handler = $payload->getHandler();

About

WebHook Handler for GitHub, Gitee and GitLab.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Languages