2017 © Pedro Peláez
 

library webhooker

Set of handlers for BitBucket webhooks

image

devbackend/webhooker

Set of handlers for BitBucket webhooks

  • Saturday, July 29, 2017
  • by tsbgroup
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

BitBucket webhook handlers

Overview

This is library for handling bitbucket webhook info. It get raw webhook data from request body and generate object with interfaces for most entities of bitbucket., (*1)

Installation

The recommended way to install the SDK is with Composer. Composer is a dependency management tool for PHP that allows you to declare the dependencies your project needs and installs them into your project., (*2)

/path/to/php /path/to/composer.phar require devbackend/webhooker

If composer install globally in your system, you can run next command:, (*3)

composer require devbackend/webhooker

Alternatively, you can specify the SDK as a dependency in your project's existing composer.json file:, (*4)

{
    "require" : {
        "devbackend/webhooker": "^1.0" 
    }
}

After installing, you need to require Composer's autoloader:, (*5)

require vendor/autoload.php;

And create instance of webhook handler:, (*6)

$webhookHandler = \Webhooker\PushWebhookHandler::init();

$webHook    = $webhookHandler->getWebhook(); // return an object of interface PushWebhook
$rawWebhook = $webhookHandler->getRaw();     // return raw, unparsed, json-encoded webhook string 

The Versions

29/07 2017

dev-master

9999999-dev

Set of handlers for BitBucket webhooks

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Ivan Krivonos

29/07 2017

1.0.2

1.0.2.0

Set of handlers for BitBucket webhooks

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Ivan Krivonos

30/03 2017

1.0.1

1.0.1.0

Set of handlers for BitBucket webhooks

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Ivan Krivonos

30/03 2017

1.0.0

1.0.0.0

Set of handlers for BitBucket webhooks

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by Ivan Krivonos