PHPackages                             healthengine/laravel-webhook-channel - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. healthengine/laravel-webhook-channel

Abandoned → [laravel-notification-channels/webhook](/?search=laravel-notification-channels%2Fwebhook)ArchivedLibrary[Mail &amp; Notifications](/categories/mail)

healthengine/laravel-webhook-channel
====================================

Webhook Notifications driver

v2.2.0(3y ago)055.3kMITPHPPHP ~8.0.0 || ~8.1.0

Since Aug 23Pushed 2y agoCompare

[ Source](https://github.com/HealthEngineAU/laravel-webhook-channel)[ Packagist](https://packagist.org/packages/healthengine/laravel-webhook-channel)[ Docs](https://github.com/healthengineau/laravel-webhook-channel)[ RSS](/packages/healthengine-laravel-webhook-channel/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (6)Versions (12)Used By (0)

> **Warning**
>
> This package is not maintained.
>
> Please use [laravel-notification-channels/webhook](https://github.com/laravel-notification-channels/webhook) instead.

Webhook notifications channel for Laravel
=========================================

[](#webhook-notifications-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a65ccb8f3d8d1da9155ab48446ab1cac4debd7176aa5398f0c96ef1a115b63fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6865616c7468656e67696e652f6c61726176656c2d776562686f6f6b2d6368616e6e656c2e737667)](https://packagist.org/packages/healthengine/laravel-webhook-channel)[![Build Status](https://camo.githubusercontent.com/5e667012d2688718ac68c1d30879e99f6abd732159235b9a9816ae1906a28247/68747470733a2f2f7472617669732d63692e6f72672f4865616c7468456e67696e6541552f6c61726176656c2d776562686f6f6b2d6368616e6e656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/HealthEngineAU/laravel-webhook-channel)[![Total Downloads](https://camo.githubusercontent.com/999755e0a88b5b37f440ee8c7b808eaa5528937fb1c9d312e8fd60996956646b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6865616c7468656e67696e652f6c61726176656c2d776562686f6f6b2d6368616e6e656c2e737667)](https://packagist.org/packages/healthengine/laravel-webhook-channel)

This package makes it easy to send webhooks using the Laravel 5.5 notification system.

Contents
--------

[](#contents)

- [Installation](#installation)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require healthengine/laravel-webhook-channel
```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification:

```
use NotificationChannels\Webhook\WebhookChannel;
use NotificationChannels\Webhook\WebhookMessage;
use Illuminate\Notifications\Notification;

class ProjectCreated extends Notification
{
    public function via($notifiable)
    {
        return [WebhookChannel::class];
    }

    public function toWebhook($notifiable)
    {
        return WebhookMessage::create()
            ->data([
               'payload' => [
                   'webhook' => 'data'
               ]
            ])
            ->userAgent("Custom-User-Agent")
            ->header('X-Custom', 'Custom-Header');
    }
}
```

In order to let your Notification know which URL should receive the Webhook data, add the `routeNotificationForWebhook` method to your Notifiable model.

This method needs to return the URL where the notification Webhook will receive a POST request.

```
public function routeNotificationForWebhook()
{
    return 'http://requestb.in/1234x';
}
```

### Available methods

[](#available-methods)

- `data('')`: Accepts a JSON-encodable value for the Webhook body.
- `userAgent('')`: Accepts a string value for the Webhook user agent.
- `header($name, $value)`: Sets additional headers to send with the POST Webhook.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Marcel Pociot](https://github.com/mpociot)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~295 days

Recently: every ~436 days

Total

9

Last Release

1234d ago

Major Versions

1.2.1 → 2.02022-02-09

PHP version history (5 changes)1.0.0PHP &gt;=5.6.4

1.2PHP &gt;=7.0.0

2.0PHP ^7.4|^8.0|^8.1

v2.1.0PHP ^7.4 || ^8.0

v2.2.0PHP ~8.0.0 || ~8.1.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15922667?v=4)[Thomas Spencer](/maintainers/tspencer244)[@tspencer244](https://github.com/tspencer244)

![](https://avatars.githubusercontent.com/u/6128798?v=4)[Jarryd Tilbrook](/maintainers/jradtilbrook)[@jradtilbrook](https://github.com/jradtilbrook)

---

Top Contributors

[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (15 commits)")[![brendan-markham-he](https://avatars.githubusercontent.com/u/91859663?v=4)](https://github.com/brendan-markham-he "brendan-markham-he (12 commits)")[![tspencer244](https://avatars.githubusercontent.com/u/15922667?v=4)](https://github.com/tspencer244 "tspencer244 (4 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (1 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (1 commits)")[![JayBizzle](https://avatars.githubusercontent.com/u/340752?v=4)](https://github.com/JayBizzle "JayBizzle (1 commits)")[![kylestev](https://avatars.githubusercontent.com/u/819571?v=4)](https://github.com/kylestev "kylestev (1 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![REBELinBLUE](https://avatars.githubusercontent.com/u/2143908?v=4)](https://github.com/REBELinBLUE "REBELinBLUE (1 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (1 commits)")[![casperboone](https://avatars.githubusercontent.com/u/15815208?v=4)](https://github.com/casperboone "casperboone (1 commits)")

---

Tags

laravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/healthengine-laravel-webhook-channel/health.svg)

```
[![Health](https://phpackages.com/badges/healthengine-laravel-webhook-channel/health.svg)](https://phpackages.com/packages/healthengine-laravel-webhook-channel)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

87511.3M154](/packages/spatie-laravel-health)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.7M43](/packages/laravel-notification-channels-telegram)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4079.7M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1613.2M11](/packages/laravel-notification-channels-microsoft-teams)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

252143.0k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
