sunkan/git-webhooks

normalise webhook events for github, gitlab and bitbucket

2.0.0 2020-04-01 13:53 UTC

This package is auto-updated.

Last update: 2024-06-29 05:27:05 UTC


README

git-webhooks

Build Status

normalise webhook events for github, gitlab and bitbucket

Installation

composer require davidbadura/git-webhooks

Example

use DavidBadura\GitWebhooks\EventFactory;

$request = Psr17Factory::createFromGlobals();
$factory = EventFactory::createDefault();

if ($event = $factory->create($request)) {
    // ...
}