wuxue107/git-webhooks

normalise webhook events for github, gitlab and bitbucket

2.0.0 2022-10-16 08:56 UTC

This package is not auto-updated.

Last update: 2024-05-27 02:29:26 UTC


README

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)) {
    // ...
}