PHPackages                             florianbeer/webhooks - 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. florianbeer/webhooks

ActiveLibrary[API Development](/categories/api)

florianbeer/webhooks
====================

GitLab.com &amp; Github WebHooks system with PHP and YAML.

1061PHP

Since Oct 21Pushed 11y ago1 watchersCompare

[ Source](https://github.com/florianbeer/webhooks)[ Packagist](https://packagist.org/packages/florianbeer/webhooks)[ RSS](/packages/florianbeer-webhooks/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

webhooks
========

[](#webhooks)

Gitlab.com &amp; GitHub WebHooks system with PHP and YAML.

Created by [Florian Beer](http://42dev.eu). Forked from [Maxime Valette's webhooks](https://github.com/betacie/webhooks).

Setup
-----

[](#setup)

1. Clone the repo: `git clone git@github.com:florianbeer/webhooks`
2. Install packages: `composer install`
3. Copy the `config.php.dist` file to `config.php` and customize it
4. Add a virtual host pointing to `web/`

All set! You just have to add a custom WebHook in the Service Hooks of your Gitlab.com or GitHub repositories, pointing to `web/hooks.php`.

Hooks file
----------

[](#hooks-file)

The whole point of this script is that you can add custom hooks file specific to GitHub repositories.

It's a simple YAML file that looks like this:

```
emails:
  - john@acmewebsite.com
master:
  - /usr/local/bin/composer install
  - php artisan migrate --env=production

```

So you can easily add or remove commands executed after every push.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% 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://avatars.githubusercontent.com/u/800047?v=4)[Florian Beer](/maintainers/florianbeer)[@florianbeer](https://github.com/florianbeer)

---

Top Contributors

[![florianbeer](https://avatars.githubusercontent.com/u/800047?v=4)](https://github.com/florianbeer "florianbeer (5 commits)")[![maximevalette](https://avatars.githubusercontent.com/u/240136?v=4)](https://github.com/maximevalette "maximevalette (3 commits)")

### Embed Badge

![Health badge](/badges/florianbeer-webhooks/health.svg)

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

###  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)
