PHPackages                             turanct/webhooks - 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. turanct/webhooks

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

turanct/webhooks
================

Trigger WebHooks from your project

1.0.1(8y ago)3121[1 issues](https://github.com/turanct/webhooks/issues)MITPHP

Since Feb 20Pushed 8y ago2 watchersCompare

[ Source](https://github.com/turanct/webhooks)[ Packagist](https://packagist.org/packages/turanct/webhooks)[ Docs](http://github.com/turanct/webhooks)[ RSS](/packages/turanct-webhooks/feed)WikiDiscussions master Synced 3d ago

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

WebHooks
========

[](#webhooks)

[![Travis CI](https://camo.githubusercontent.com/2b0d0974b0fbc1cf31129390ce4580b9c08d62f76c9f7992a66d36eaa162506c/68747470733a2f2f6170692e7472617669732d63692e6f72672f747572616e63742f776562686f6f6b732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/turanct/webhooks)

Goal
----

[](#goal)

Create a very simple and easy to use library that triggers webhooks.

Basic Usage
-----------

[](#basic-usage)

The main interface that this package provides is the [`WebHooks` interface](/src/WebHooks.php). It provides a single method `send()` which takes a `WebHook` instance and sends it. You can then configure your Dependency Injection Container or Service Locator to build the specific implementation of that interface, depending on your needs. Let's see how you'd use this in a dummy controller:

```
