sunkan / git-webhooks
normalise webhook events for github, gitlab and bitbucket
2.0.0
2020-04-01 13:53 UTC
Requires
- php: ^7.2
- psr/http-message: ^1.0
Requires (Dev)
- nyholm/psr7: ^1.2
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-10-29 06:30:54 UTC
README
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)) { // ... }