PHPackages                             schantldev/git-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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. schantldev/git-webhook

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

schantldev/git-webhook
======================

An easy way to update your application using Github's webhooks. No manual deploy required.

v1.0.7(1y ago)2313MITPHPPHP ^8.2

Since Sep 15Pushed 1y ago2 watchersCompare

[ Source](https://github.com/schantldev/git-webhook)[ Packagist](https://packagist.org/packages/schantldev/git-webhook)[ Docs](https://github.com/schantldev/git-webhook)[ RSS](/packages/schantldev-git-webhook/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (8)Dependencies (3)Versions (11)Used By (0)

Laravel - Git Webhook
=====================

[](#laravel---git-webhook)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3166c46535efb70ae5911f235cd0cc14389f0d762073cba1224c0c2191774202/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736368616e746c6465762f6769742d776562686f6f6b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schantldev/git-webhook)[![PHP UNIT](https://github.com/schantldev/git-webhook/actions/workflows/php.yml/badge.svg)](https://github.com/schantldev/git-webhook/actions/workflows/php.yml/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/72845ebef1f1822d0dfa1f163b12bd63c3a0f218b857548daa61cf446769d1eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736368616e746c6465762f6769742d776562686f6f6b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schantldev/git-webhook)

An easy way to update your application using Github webhooks. No manual deploy required.

This package sets up a route that you can use for your Github webhooks. You can set a secret and define the URL of the route. The pacakge will publish a deploy script that you can customize to fit your needs.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require schantldev/git-webhook
```

After that, publish the files using

```
php artisan vendor:publish
```

Ensure the deployment script is executable by running

```
chmod +x /storage/git-webhook/git_deploy.sh
```

The package will queue the command and run it in the background. Ensure you have a proper queue (eg. database driver) set up, otherwise the deployment script might not work.

Usage
-----

[](#usage)

1. Define the webhook URL you want to use in the `git-webhook.php` config file
2. Define a secret if necessary
3. Activate the webhook inside your repository settings

Contributing
------------

[](#contributing)

Everybody is welcome to contribute towards this git webhook package.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Schantl Web Development &amp; Services](https://github.com/schantldev)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance43

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity73

Established project with proven stability

 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 ~232 days

Recently: every ~374 days

Total

8

Last Release

446d ago

PHP version history (5 changes)v1.0.0PHP ^7.1

v1.0.3PHP ^7.2|^8.0

v1.0.4PHP ^8.0|^8.1

v1.0.5PHP ^8.1

v1.0.6PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/066c73af212709bf82a46e2dfe00e73a6514c11a6d1858acc68a31d70a5ee2ca?d=identicon)[AndreasSchantl](/maintainers/AndreasSchantl)

---

Top Contributors

[![andjsch](https://avatars.githubusercontent.com/u/9936988?v=4)](https://github.com/andjsch "andjsch (21 commits)")

---

Tags

autodeploydeploymentgitgithublaravelwebhookgit-webhookschantldev

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/schantldev-git-webhook/health.svg)

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

###  Alternatives

[timokoerber/laravel-one-time-operations

Run operations once after deployment - just like you do it with migrations!

6481.7M11](/packages/timokoerber-laravel-one-time-operations)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[sammyjo20/lasso

Lasso - Asset wrangling for Laravel made simple.

355347.9k](/packages/sammyjo20-lasso)[stechstudio/laravel-env-security

Securely manage .env files for different deployment environments

77116.4k1](/packages/stechstudio-laravel-env-security)[aaronfrancis/airdrop

A Laravel package to deploy your application faster by skipping asset compilation when possible.

19594.9k](/packages/aaronfrancis-airdrop)[richdynamix/arc

Production ready docker based development environment for your Laravel project.

1163.1k](/packages/richdynamix-arc)

PHPackages © 2026

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