yashveersingh / laravel-discord-notifier
Installs: 141
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/yashveersingh/laravel-discord-notifier
Requires
- guzzlehttp/guzzle: ^6.3.1|^7.0.1
This package is auto-updated.
Last update: 2025-10-21 16:41:01 UTC
README
This package makes it easy to send notifications using the Discord webhook API with Laravel.
Installation
You can install the package via composer:
composer require yashveersingh/laravel-discord-notifier
Setting up your Discord bot
- Add
DISCORD_WEBHOOK=https://discord.com/api/webhooks/...in.env
Usage
use yashveersingh\laravelDiscordNotifier\DiscordNotifier; $message = 'Hello From Webhook'; $discordNotifier = new DiscordNotifier(); $discordNotifier->setUserName('USERNAME'); $discordNotifier->send($message);
License
The MIT License (MIT). Please see LICENSE for more information.