PHPackages                             smalot/github-webhook - 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. smalot/github-webhook

ActiveLibrary[API Development](/categories/api)

smalot/github-webhook
=====================

Github API to handle webhook callbacks.

v0.2(10y ago)3901[3 PRs](https://github.com/smalot/github-webhook/pulls)MITPHPPHP &gt;=5.3.0

Since Dec 25Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (3)Used By (0)

Github Webhook
==============

[](#github-webhook)

[![Latest Stable Version](https://camo.githubusercontent.com/7b8c85fb40fdffdc762b06fc0512b17658997852196331d0441ab4df0aa418b4/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f6769746875622d776562686f6f6b2f762f737461626c65)](https://packagist.org/packages/smalot/github-webhook)[![Total Downloads](https://camo.githubusercontent.com/d94e028b3a82bd99ff30146b6efaff0cb2fe6d57585522feb4154164a55fe75e/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f6769746875622d776562686f6f6b2f646f776e6c6f616473)](https://packagist.org/packages/smalot/github-webhook)[![Latest Unstable Version](https://camo.githubusercontent.com/9c95a8c12ae6680e5faaecd646dfa40bef777a2415cdcc2a53796573c493e130/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f6769746875622d776562686f6f6b2f762f756e737461626c65)](https://packagist.org/packages/smalot/github-webhook)[![License](https://camo.githubusercontent.com/3d0d472a26d1e2bd46e403079f0bdd8633ad276c8961071dd94fcea3dbf10ff7/68747470733a2f2f706f7365722e707567782e6f72672f736d616c6f742f6769746875622d776562686f6f6b2f6c6963656e7365)](https://packagist.org/packages/smalot/github-webhook)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4b60065e11f2918b4ac2bc223c8b02318a34bab69082e712020d0effbb16aab4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736d616c6f742f6769746875622d776562686f6f6b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/smalot/github-webhook/?branch=master)

Requirements
============

[](#requirements)

- PHP 5.3+
- symfony/http-foundation &gt;= 2.3
- symfony/event-dispatcher &gt;= 2.3

Installation
============

[](#installation)

Composer
--------

[](#composer)

You need first to download this library using `composer`.

```
composer require smalot/github-webhook
```

Go to [GetComposer.org](https://getcomposer.org/download/) to install Composer on your environment.

Example
=======

[](#example)

From scratch
------------

[](#from-scratch)

```
