PHPackages                             yansongda/git-notify - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yansongda/git-notify

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yansongda/git-notify
====================

notify the git push.

v1.2.1(8y ago)10292MITPHP

Since Sep 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/yansongda/git-notify)[ Packagist](https://packagist.org/packages/yansongda/git-notify)[ RSS](/packages/yansongda-git-notify/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (3)Versions (12)Used By (0)

😆Git Notify😆
============

[](#git-notify)

git 代码推送通知

在公司进行开发时，如何**优雅而又不尴尬**的让老板知道自己每天几点下班，好让老板加工资，这是一个问题。

现在应该基本每个公司用钉钉，而钉钉又有机器人可以自动推送，😆，git 可以使用 webhook，于是，就有了这样一个系统。

当然，根据 git 的 webhook 特性，**大家可以打开脑洞，随意实现有意思的功能**。

特性
--

[](#特性)

1. 隐藏不需要关心的内部流程
2. 可以随意增加现有类库中没有的服务

支持的服务
-----

[](#支持的服务)

### git 提供商

[](#git-提供商)

- gitee （码云）

### destinations

[](#destinations)

- dingtalk （钉钉）
    实现消息推送功能

安装
--

[](#安装)

`composer require yansongda/git-notify`

使用方法
----

[](#使用方法)

### git webhook

[](#git-webhook)

`http://your-domain/?from=gitee&to=dingtalk`

### 服务端

[](#服务端)

```
