PHPackages                             leonjza/php-gitlab-jabberhook - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. leonjza/php-gitlab-jabberhook

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

leonjza/php-gitlab-jabberhook
=============================

A small library to parse Gitlab Webhooks and notify via XMPP

0.1(11y ago)3201MITPHPPHP &gt;=5.3.0, &lt;6.0.0

Since Oct 16Pushed 11y ago4 watchersCompare

[ Source](https://github.com/leonjza/php-gitlab-jabberhook)[ Packagist](https://packagist.org/packages/leonjza/php-gitlab-jabberhook)[ RSS](/packages/leonjza-php-gitlab-jabberhook/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

php-gitlab-jabberhook
---------------------

[](#php-gitlab-jabberhook)

[![Latest Stable Version](https://camo.githubusercontent.com/a8ccfb9e90567ee6d98c17e2b632173baa334af8a70d70654c3630dabb85515c/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e6a7a612f7068702d6769746c61622d6a6162626572686f6f6b2f762f737461626c652e737667)](https://packagist.org/packages/leonjza/php-gitlab-jabberhook) [![Total Downloads](https://camo.githubusercontent.com/831c45871a1c30c2738d4852a5e628ff4fed6d14d47895e51bd704d8914b3e61/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e6a7a612f7068702d6769746c61622d6a6162626572686f6f6b2f646f776e6c6f6164732e737667)](https://packagist.org/packages/leonjza/php-gitlab-jabberhook) [![Latest Unstable Version](https://camo.githubusercontent.com/0a385df5a712e11bba423c2ed57110ab7e2cdac0a002d7a96da35884b0cfb59b/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e6a7a612f7068702d6769746c61622d6a6162626572686f6f6b2f762f756e737461626c652e737667)](https://packagist.org/packages/leonjza/php-gitlab-jabberhook) [![License](https://camo.githubusercontent.com/37a6498bc8883d1f2e5ef86c826daa9adb632d0b241aca7e51ac8e9f6c702870/68747470733a2f2f706f7365722e707567782e6f72672f6c656f6e6a7a612f7068702d6769746c61622d6a6162626572686f6f6b2f6c6963656e73652e737667)](https://packagist.org/packages/leonjza/php-gitlab-jabberhook)

A simple project to parse Gitlab Webhooks and send notifications via XMPP.
The main idea is to have the messages sent to a broadcast service. This library has only really been testing using a Openfire jabber server, but will probably work fine on many others.

installation
------------

[](#installation)

Installation is relatively simple. Ensure that you have `composer` available and issue the command:

`php composer.phar create-project leonjza/php-gitlab-jabberhook gitlab-notifier "dev-master"`
Where `gitlab-notifier` is the name of the directory you wish to install to.

Next, create the entry point file (call it anything you want) where your webhook will POST to (`from examples/test.php`):

```
// File hook.php
