PHPackages                             tech101/gitwebhook - 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. tech101/gitwebhook

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

tech101/gitwebhook
==================

Package for executing based on trigger

v1.1.2(2y ago)0466MITPHP

Since Jun 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Tech101Nepal/GitWebhook)[ Packagist](https://packagist.org/packages/tech101/gitwebhook)[ RSS](/packages/tech101-gitwebhook/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

Webhook package for gitlab - Laravel Package
============================================

[](#webhook-package-for-gitlab---laravel-package)

The webhook package can be used to trigger the git command based on the events that gets by triggered by the gitlab.

Getting started
---------------

[](#getting-started)

The package can be installed in the following steps:

Install the package with:

```
composer require tech101/gitwebhook
```

Publish the provider

```
php artisan vendor:publish --provider="Tech101\Webhook\WebhookServiceProvider"
```

Configuration
-------------

[](#configuration)

Add the following variables to the project environment

```
DEFAULT_BRANCH="your branch name that you want in your system"
GITLAB_WEBHOOK_TOKEN="token for the webhook that you have set in gitlab"
OR
GITHUB_WEBHOOK_TOKEN="token for the webhook that you have set in github.
```

Routes
------

[](#routes)

To use the webhook you have to set url based on the following basis

```
Github
- For pull request: "your_url"/webhook/github/pull-request
- For tag create: "your_url"/webhook/github/tag-create

Gitlab
- For merge request: "your_url"/webhook/gitlab/merge-request
- For tag push: "your_url"/webhook/gitlab/tag-push
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~14 days

Total

5

Last Release

1013d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58373af2ef3787eb7d4a5f7f50d4badc911e39acac1eccc0c22c1505f229e50f?d=identicon)[Samir-Lama](/maintainers/Samir-Lama)

---

Top Contributors

[![Samir-Lama](https://avatars.githubusercontent.com/u/52377492?v=4)](https://github.com/Samir-Lama "Samir-Lama (94 commits)")[![TheBikramLama](https://avatars.githubusercontent.com/u/47409497?v=4)](https://github.com/TheBikramLama "TheBikramLama (5 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tech101-gitwebhook/health.svg)

```
[![Health](https://phpackages.com/badges/tech101-gitwebhook/health.svg)](https://phpackages.com/packages/tech101-gitwebhook)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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