PHPackages                             prestashop/github-webhook-parser - 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. prestashop/github-webhook-parser

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

prestashop/github-webhook-parser
================================

Converts Github API v3 events to PHP objects

0.1.0(5y ago)01.3k[1 PRs](https://github.com/PrestaShop/github-webhook-parser/pulls)MITPHP

Since Sep 9Pushed 1y ago8 watchersCompare

[ Source](https://github.com/PrestaShop/github-webhook-parser)[ Packagist](https://packagist.org/packages/prestashop/github-webhook-parser)[ Docs](https://github.com/PrestaShop/github-webhook-parser)[ RSS](/packages/prestashop-github-webhook-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

github-webhook-parser
=====================

[](#github-webhook-parser)

This lib aims to convert Github API v3 events to PHP objects

Install
-------

[](#install)

Via Composer

`composer require prestashop/github-webhook-parser`

Usage
-----

[](#usage)

Use the `WebhookHandler` class to retrieve the event:

```
$payload = json_decode($request->getContent(), true);
$webhookHandler = new \PrestaShop\Github\WebhookHandler();

try {
    $event = $webhookHandler->handle($payload);
} catch (\PrestaShop\Github\Exception\EventNotHandledException $e) {
    ...
}

if ($event instanceof \PrestaShop\Github\Event\PullRequestEvent) {
    $action = $event->getAction();
    $pullRequest = $event->getPullRequest();
}
```

Testing
-------

[](#testing)

```
$ composer install
$ vendor/bin/phpunit
```

Credits
-------

[](#credits)

- [All Contributors](https://github.com/PrestaShop/github-webhook-parser/contributors)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

2077d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15106407?v=4)[Jarvis](/maintainers/ps-jarvis)[@ps-jarvis](https://github.com/ps-jarvis)

![](https://avatars.githubusercontent.com/u/1009343?v=4)[Pablo Borowicz](/maintainers/eternoendless)[@eternoendless](https://github.com/eternoendless)

---

Top Contributors

[![atomiix](https://avatars.githubusercontent.com/u/2168836?v=4)](https://github.com/atomiix "atomiix (6 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/prestashop-github-webhook-parser/health.svg)

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

PHPackages © 2026

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