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

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

revolution/laravel-notification-discord-webhook
===============================================

Laravel Notification for Discord(Webhook)

1.4.0(2mo ago)68.3k↓17.5%MITPHPPHP ^8.3CI passing

Since Mar 27Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/invokable/laravel-notification-discord-webhook)[ Packagist](https://packagist.org/packages/revolution/laravel-notification-discord-webhook)[ GitHub Sponsors](https://github.com/invokable)[ RSS](/packages/revolution-laravel-notification-discord-webhook/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Notification for Discord(Webhook)
=========================================

[](#laravel-notification-for-discordwebhook)

[![Maintainability](https://camo.githubusercontent.com/35ada21d639efd8cf2911595751c65c9ce7fb24971c830708f1bcc0731548d36/68747470733a2f2f716c74792e73682f6261646765732f33316638613464342d326463372d343333312d396235352d3134346466313566666638352f6d61696e7461696e6162696c6974792e737667)](https://qlty.sh/gh/invokable/projects/laravel-notification-discord-webhook)[![Code Coverage](https://camo.githubusercontent.com/c7876ef33632ad01a656932c4330642c0cbefd0064f23f8f2dc8c27887df7a16/68747470733a2f2f716c74792e73682f6261646765732f33316638613464342d326463372d343333312d396235352d3134346466313566666638352f746573745f636f7665726167652e737667)](https://qlty.sh/gh/invokable/projects/laravel-notification-discord-webhook)

Introduction
------------

[](#introduction)

This package allows you to easily send notifications to Discord by simply specifying a webhook. With this Laravel notification channel, you can quickly integrate Discord notifications into your application without dealing with the complexities of Discord's API. Just configure your webhook URL and start sending notifications right away.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.3
- Laravel &gt;= 12.0

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

[](#installation)

```
composer require revolution/laravel-notification-discord-webhook
```

### Uninstall

[](#uninstall)

```
composer remove revolution/laravel-notification-discord-webhook
```

Config
------

[](#config)

Get the webhook url from your Discord server settings.

### config/services.php

[](#configservicesphp)

```
    'discord' => [
        'webhook' => env('DISCORD_WEBHOOK'),
    ],
```

### .env

[](#env)

```
DISCORD_WEBHOOK=https://discord.com/api/webhooks/...

```

Usage
-----

[](#usage)

```
