PHPackages                             sy-records/webhooks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sy-records/webhooks

ActiveLibrary[API Development](/categories/api)

sy-records/webhooks
===================

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

v1.1.0(2y ago)3307MITPHPPHP &gt;=7.2

Since Nov 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sy-records/webhooks)[ Packagist](https://packagist.org/packages/sy-records/webhooks)[ Fund](https://donate.qq52o.me)[ GitHub Sponsors](https://github.com/simps)[ RSS](/packages/sy-records-webhooks/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

webhooks
========

[](#webhooks)

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

[![Latest Stable Version](https://camo.githubusercontent.com/f737e618e75d8925bdcfcb022b1a645fa032b681d92adb1b63525b9f34e52834/687474703a2f2f706f7365722e707567782e6f72672f73792d7265636f7264732f776562686f6f6b732f76)](https://packagist.org/packages/sy-records/webhooks)[![Total Downloads](https://camo.githubusercontent.com/a04d0e72f82ce51cabcf01bfc9afdb1a057bb2e8811b1d3fa7706aa156958c3b/687474703a2f2f706f7365722e707567782e6f72672f73792d7265636f7264732f776562686f6f6b732f646f776e6c6f616473)](https://packagist.org/packages/sy-records/webhooks)[![Latest Unstable Version](https://camo.githubusercontent.com/7eac481d06bcc763a7ccdeb74dbf27cfc524cb60a4a043c544dde9be85b76974/687474703a2f2f706f7365722e707567782e6f72672f73792d7265636f7264732f776562686f6f6b732f762f756e737461626c65)](https://packagist.org/packages/sy-records/webhooks)[![License](https://camo.githubusercontent.com/3d27fa7e7afaf174ef144b124cc68d8b9378effcfd67f4903013b5689e6aa697/687474703a2f2f706f7365722e707567782e6f72672f73792d7265636f7264732f776562686f6f6b732f6c6963656e7365)](https://packagist.org/packages/sy-records/webhooks)[![PHP Version Require](https://camo.githubusercontent.com/cae33a5e8037e9024aa5f97a19c60f4ff614e1c23b47f3c921af3bba4de37296/687474703a2f2f706f7365722e707567782e6f72672f73792d7265636f7264732f776562686f6f6b732f726571756972652f706870)](https://packagist.org/packages/sy-records/webhooks)

Install
-------

[](#install)

```
composer require sy-records/webhooks
```

Usage
-----

[](#usage)

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

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~661 days

Total

2

Last Release

974d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17615e789eec7042f64c6f4e8733421987d98fcdc4269395b42d2a7f0ae94301?d=identicon)[sy-records](/maintainers/sy-records)

---

Top Contributors

[![sy-records](https://avatars.githubusercontent.com/u/33931153?v=4)](https://github.com/sy-records "sy-records (18 commits)")

---

Tags

gitgiteegithubgitlabphpwebhooksphpgithubgitlabwebhookgiteaGitee登录gogs

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/sy-records-webhooks/health.svg)

```
[![Health](https://phpackages.com/badges/sy-records-webhooks/health.svg)](https://phpackages.com/packages/sy-records-webhooks)
```

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[stymiee/authnetjson

Library that abstracts Authorize.Net's JSON APIs. This includes the Advanced Integration Method (AIM), Automated Recurring Billing (ARB), Customer Information Manager (CIM), Transaction Reporting, Simple Integration Method (SIM), and Webhooks.

19545.7k](/packages/stymiee-authnetjson)[gnello/webhook-manager

Easily associate one or more actions with a specific repository event using webhooks

115.9k](/packages/gnello-webhook-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
