PHPackages                             iwink/gitlab-webhook-bundle - 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. iwink/gitlab-webhook-bundle

ActiveSymfony-bundle

iwink/gitlab-webhook-bundle
===========================

A Symfony bundle to process GitLab webhooks.

v1.2.2(2y ago)63933[2 issues](https://github.com/iwink/gitlab-webhook-bundle/issues)MITPHPPHP &gt;=7.4CI failing

Since Feb 19Pushed 2y ago4 watchersCompare

[ Source](https://github.com/iwink/gitlab-webhook-bundle)[ Packagist](https://packagist.org/packages/iwink/gitlab-webhook-bundle)[ RSS](/packages/iwink-gitlab-webhook-bundle/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (4)Dependencies (7)Versions (6)Used By (0)

GitLab Webhook Bundle
=====================

[](#gitlab-webhook-bundle)

[![License](https://camo.githubusercontent.com/43d55ff5a71d00566c39b342d9544783bce30f2abbaf9947c48afba1bcfb0562/68747470733a2f2f706f7365722e707567782e6f72672f6977696e6b2f6769746c61622d776562686f6f6b2d62756e646c652f6c6963656e73652e706e67)](https://packagist.org/packages/iwink/gitlab-webhook-bundle)[![Tag](https://camo.githubusercontent.com/0376a5c8fd845f42f8086d6d8b5d8c1c61a3cfd2b72ffb131353bb497187ea7c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6977696e6b2f6769746c61622d776562686f6f6b2d62756e646c65)](https://github.com/iwink/gitlab-webhook-bundle/releases)[![Build Status](https://camo.githubusercontent.com/3eaeadc3db438ca36ca253753ab535060ed0a1ade65e3b1ad5f004a87effc4f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6977696e6b2f6769746c61622d776562686f6f6b2d62756e646c652f54657374733f6c6162656c3d706870756e6974)](https://github.com/iwink/gitlab-webhook-bundle/actions?query=workflow%3A%22Tests%22)

Symfony bundle to process [GitLab webhooks](https://docs.gitlab.com/ee/user/project/integrations/webhooks.html).

Installation
------------

[](#installation)

To use this bundle, install it using [Composer](getcomposer.org): `composer require iwink/gitlab-webhook-bundle`. If your project uses [Symfony Flex](https://github.com/symfony/flex), you are done. If not, make sure to enable the bundle in your project's `config/bundles.php`.

Usage
-----

[](#usage)

To mark a controller as a GitLab webhook, you can use the `@Webhook(event="event")` annotation above your controller and define a `Iwink\GitLabWebhookBundle\Event\WebhookEvent` argument in your method:

```
