Registry / messaging / laravel-slack-notification-channel

laravel-slack-notification-channel

JSON →
library3.8.0phppackagistunverified

Slack Notification Channel for laravel.

composer require laravel/slack-notification-channel
INSTALL
IMPORT
SIG · LARAVEL-SLACK-NOTI
L
laravel-slack-notification-channel
messagingphpv3.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SlackWebhookChannel
use Illuminate\Notifications\Channels\SlackWebhookChannel;

Define a notification that sends a Slack message.

use Illuminate\Notifications\Channels\SlackWebhookChannel; use Illuminate\Notifications\Notification; class OrderShipped extends Notification { public function via($notifiable) { return [SlackWebhookChannel::class]; } public function toSlack($notifiable) { return (new SlackMessage)->content('Order shipped!'); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.8.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
laravel-slack-notification-channel — pip install laravel-slack-notification-channel · libregistry