PHPackages                             contao-community-alliance/bitbucket-payload - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. contao-community-alliance/bitbucket-payload

Abandoned → [bit3/bitbucket-payload](/?search=bit3%2Fbitbucket-payload)ArchivedLibrary[API Development](/categories/api)

contao-community-alliance/bitbucket-payload
===========================================

Parse the bitbucket API payload from a webhook.

017PHP

Since Nov 11Pushed 11y ago3 watchersCompare

[ Source](https://github.com/contao-community-alliance-archive/bitbucket-payload)[ Packagist](https://packagist.org/packages/contao-community-alliance/bitbucket-payload)[ RSS](/packages/contao-community-alliance-bitbucket-payload/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Version](https://camo.githubusercontent.com/7448d860f89eb4529247854cc92f08f82cb3ff498b8e36660d641be9c8bcd2ba/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f6269746275636b65742d7061796c6f61642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/contao-community-alliance/bitbucket-payload)[!\[Stable Build Status\](http://img.shields.io/travis/contao-community-alliance/bitbucket-payload/master.svg?style=flat-square&amp;label=stable build)](https://travis-ci.org/contao-community-alliance/bitbucket-payload)[!\[Upstream Build Status\](http://img.shields.io/travis/contao-community-alliance/bitbucket-payload/develop.svg?style=flat-square&amp;label=dev build)](https://travis-ci.org/contao-community-alliance/bitbucket-payload)[![License](https://camo.githubusercontent.com/dd1e295fa041ca06b656b4eba0e11130117734d0ddafd80224e3cc17f285cf46/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f6269746275636b65742d7061796c6f61642e7376673f7374796c653d666c61742d737175617265)](https://github.com/contao-community-alliance/bitbucket-payload/blob/master/LICENSE)[![Downloads](https://camo.githubusercontent.com/4003ca8fdc7cdc127bd99d334747683624cdfb315b6a3945b3577b0b2c1e5fd1/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f6269746275636b65742d7061796c6f61642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/contao-community-alliance/bitbucket-payload)

bitbucket webhook payload
=========================

[](#bitbucket-webhook-payload)

This project contains a set of classes to validate, deserialize and serialize the bitbucket webhook payload. The parser use the `jms/serializer` internally, that means you can deserialize and serialize the payload as you like.

Requirements
------------

[](#requirements)

Annotations are used to define the serialisation settings. Depending on your environment, you may need to register an annotation class loader. A very simple way is to register the `class_exists` function as loader, if you have a global autoloader available.

```
use Doctrine\Common\Annotations\AnnotationRegistry;
AnnotationRegistry::registerLoader('class_exists');
```

Usage examples
--------------

[](#usage-examples)

### ... in plain php

[](#-in-plain-php)

```
