davidbadura/git-webhooks

This package is abandoned and no longer maintained. No replacement package was suggested.

normalise webhook events for github, gitlab and bitbucket

1.2.1 2017-01-25 09:54 UTC

This package is auto-updated.

Last update: 2020-11-10 17:32:59 UTC


README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

normalise webhook events for github, gitlab and bitbucket

Installation

composer require davidbadura/git-webhooks

Example

use DavidBadura\GitWebhooks\EventFactory;
use Symfony\Component\HttpFoundation\Request;

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

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