PHPackages                             kurozumi/github-webhook-bundle - 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. kurozumi/github-webhook-bundle

ActiveSymfony-bundle[API Development](/categories/api)

kurozumi/github-webhook-bundle
==============================

v1.0.2(1y ago)092↓100%MITPHPPHP &gt;=8.1

Since Oct 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kurozumi/github-webhook-bundle)[ Packagist](https://packagist.org/packages/kurozumi/github-webhook-bundle)[ RSS](/packages/kurozumi-github-webhook-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

GitHub Webhook Bundle
=====================

[](#github-webhook-bundle)

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

[](#installation)

```
composer require kurozumi/github-webhook-bundle
```

The configuration:

```
# .env

WEBHOOK_GITHUB_SECRET=1z9Y48dbgqxZi...
```

Webhook
-------

[](#webhook)

Create a route:

```
framework:
    webhook:
        routing:
          github:
              service: webhook.request_parser.github
              secret: '%env(WEBHOOK_GITHUB_SECRET)%'
```

And a consume:

```
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\RemoteEvent\Attribute\AsRemoteEventConsumer;
use Symfony\Component\RemoteEvent\Consumer\ConsumerInterface;
use Symfony\Component\RemoteEvent\RemoteEvent;

#[AsRemoteEventConsumer(name: 'github')]
final class GithubConsumer implements ConsumerInterface
{
    public function __construct(
        private EventDispatcherInterface $eventDispatcher,
    ) {
    }

    public function consume(RemoteEvent $event): void
    {
        $this->eventDispatcher->dispatch($event, $event->getName());
    }
}
```

How to use
----------

[](#how-to-use)

```
use Symfony\Component\EventDispatcher\EventSubscriberInterface
use Symfony\Component\RemoteEvent\RemoteEvent;

class GithubWebhookListener implements EventSubscriberInterface
{
    public static function getSubscribedEvents(): array
    {
        return [
            'pull_request' => 'onPullRequest',
        ]
    }

    public function onPullRequest(RemoteEvent $event): void
    {
        $payload = $event->getPayload();

        // do something
    }
}
```

Webhook events and payloads
---------------------------

[](#webhook-events-and-payloads)

###  Health Score

29

—

LowBetter than 63% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Total

3

Last Release

530d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e27920a8a251ba0c6a45f3b46a41c52f4a05b4ce634a58d692466a3a22d62b6?d=identicon)[kurozumi](/maintainers/kurozumi)

---

Top Contributors

[![kurozumi](https://avatars.githubusercontent.com/u/1731851?v=4)](https://github.com/kurozumi "kurozumi (12 commits)")

---

Tags

symfonysymfony-bundlewebhook

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/kurozumi-github-webhook-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kurozumi-github-webhook-bundle/health.svg)](https://phpackages.com/packages/kurozumi-github-webhook-bundle)
```

###  Alternatives

[prooph/service-bus-symfony-bundle

88391.7k3](/packages/prooph-service-bus-symfony-bundle)

PHPackages © 2026

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