New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

gizburdt/talk

Send notifications to recipients
1,839 1
Install
composer require gizburdt/talk
Latest Version:1.0.0
PHP:^8.5
Laravel:13
Older releases:12
License:MIT
Last Updated:Nov 22, 2026
Links: GitHub  ·  Packagist
Maintainer: gizburdt

Talk

Latest Version on Packagist Total Downloads Tests Software License

Send notifications to recipients

Installation

You can install the package via composer:

composer require gizburdt/talk

Usage

Discord

Create a webhook in your Discord channel settings. Return DiscordWebhookChannel::class from via() and add a toDiscord() method to your notification:

use Gizburdt\Talk\Discord\DiscordEmbed;
use Gizburdt\Talk\Discord\DiscordMessage;
use Gizburdt\Talk\Discord\DiscordWebhookChannel;

public function via(object $notifiable): array
{
    return [DiscordWebhookChannel::class];
}

public function toDiscord(object $notifiable): DiscordMessage
{
    return DiscordMessage::make('Deployment finished')
        ->username('Deploy bot')
        ->embed(fn (DiscordEmbed $embed) => $embed
            ->title('Production')
            ->color('#22c55e')
            ->field('Duration', '42s', inline: true));
}

Return the webhook URL from routeNotificationFor('discord') on your notifiable:

public function routeNotificationForDiscord(): string
{
    return $this->discord_webhook_url;
}

On-demand notifications work too:

Notification::route('discord', $webhookUrl)->notify(new Deployed);

A failed request (for example an invalid payload) throws an Illuminate\Http\Client\RequestException.

Testing

composer test

Related Packages

tricki/laravel-notification

A basic user notification package for Laravel 4

315 27
mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1,255,571 1,724
babenkoivan/telegram-notifications

Telegram notifications for Laravel

53,976 38
williamcruzme/laravel-fcm

A powerful Laravel package to send Push Notifications

15,247 64
avto-dev/smspilot-notifications-laravel

Notifications channel for SMS Pilot service

7,044 3

Version History

Version Released PHP Laravel License
1.0.0 ^8.5 ^13.0 MIT
0.3.0 ^8.3 ^12.0||^13.0 MIT
0.2.0 ^8.3 ^12.0||^13.0 MIT
0.1.0 ^8.3 ^12.0||^13.0 MIT