Download the PHP package zh-mead/gogs-webhook without Composer
On this page you can find all versions of the php package zh-mead/gogs-webhook. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package gogs-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 [仓库地址]
All versions of gogs-webhook with dependencies
PHP Build Version
Package Version
No informations.
The package zh-mead/gogs-webhook contains the following files
Loading the files please wait ....