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)094MITPHPPHP &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 3w ago

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

27

—

LowBetter than 47% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

622d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1731851?v=4)[Akira Kurozumi](/maintainers/kurozumi)[@kurozumi](https://github.com/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)
```

PHPackages © 2026

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