PHPackages                             zh-mead/gogs-webhook - 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. zh-mead/gogs-webhook

ActiveLibrary

zh-mead/gogs-webhook
====================

Package description here.

v0.0.1(7y ago)022MITPHP

Since Apr 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/zh-mead/gogs-webhook)[ Packagist](https://packagist.org/packages/zh-mead/gogs-webhook)[ RSS](/packages/zh-mead-gogs-webhook/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Gogs-Lravel-webhook
===================

[](#gogs-lravel-webhook)

简介
--

[](#简介)

- 本项目是 Laravel 的一个扩展包，主要用与 Gogs 版本库的 webhook。

安装步骤
----

[](#安装步骤)

- 安装扩展包

```
$ composer require zh-mead//gogs-webhook
```

- 发布配置文件

```
$ php artisan vendor:publish --provider="ZhMead\GogsWebhook\GogsServiceProvider"
```

> 默认秘钥为 APP\_KEY

- 配置 gogs webhook 钩子

> 推送地址：http:\[url\]/gogs-webhook
> 数据格式：application/json
> 秘钥：自己配置（默认为app\_key）

注意事项
----

[](#注意事项)

- 部署服务器的秘钥应为 项目执行的用户和用户组(这里以 用户:www 用户组：www 为例)
- 目录下的 .git 文件 www 有访问的权限

```
$ chown -R www:www .git
```

- 第一次需要手动克隆下来

```
$ sudo -Hu www git clone [仓库地址]
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2584d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95666f768def4075873d022dc6bd83d2982db0110f22f42163ec07400c89a11f?d=identicon)[zh-mead](/maintainers/zh-mead)

---

Tags

gogsgogs-webhook-pluginlaravellaravel-5-package

### Embed Badge

![Health badge](/badges/zh-mead-gogs-webhook/health.svg)

```
[![Health](https://phpackages.com/badges/zh-mead-gogs-webhook/health.svg)](https://phpackages.com/packages/zh-mead-gogs-webhook)
```

PHPackages © 2026

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