PHPackages                             brittyu/webhook-deploy - 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. brittyu/webhook-deploy

ActiveLibrary[API Development](/categories/api)

brittyu/webhook-deploy
======================

github webhook with php

591PHP

Since Feb 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/brittyu/webhook-deploy)[ Packagist](https://packagist.org/packages/brittyu/webhook-deploy)[ RSS](/packages/brittyu-webhook-deploy/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

### webhook-deploy

[](#webhook-deploy)

把这个脚本放在服务器中，当github中的项目得到更新时， github的hook发送一个post请求给设置好的url， 然后通过运行脚本实现服务器的同步github上的数据。

#### 使用方法

[](#使用方法)

通过composer安装

```
{
	"require": {
		"brittyu/webhook-deploy": "dev-master"
	}
}
```

添加自己的配置文件config.php

```
 __DIR__,
    'log_name' => 'webhook.log',
    'xiestorewebhook' => [
        'remote' => "origin",
        'branch' => 'master',
        'path' => '/your/server/path/',
        'secret' => 'your-key'
    ]
];
```

添加启动脚本

```
execute();
```

#### 更多信息

[](#更多信息)

[My blog](http://brittyu.xyz)

#### License

[](#license)

MIT

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90.9% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c8043252eaca7adb349211caff5da153039ce15f573a8cd7fb51a59260ed75b?d=identicon)[brittyu](/maintainers/brittyu)

---

Top Contributors

[![brittyu](https://avatars.githubusercontent.com/u/6510516?v=4)](https://github.com/brittyu "brittyu (10 commits)")[![baronyu-go](https://avatars.githubusercontent.com/u/16163617?v=4)](https://github.com/baronyu-go "baronyu-go (1 commits)")

### Embed Badge

![Health badge](/badges/brittyu-webhook-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/brittyu-webhook-deploy/health.svg)](https://phpackages.com/packages/brittyu-webhook-deploy)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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