gpressutto5 / laravel-slack

:hash: Slack notification for Laravel as it should be. Easy, fast, simple and highly testable.
MIT License
289 stars 41 forks source link

Queue slack notification #12

Open bobinwood opened 5 years ago

bobinwood commented 5 years ago

Is it possible to queue the slack notifications ?

suwdo commented 4 years ago

You should be able to create a queued job that sends the notification. Something like this in the queued job:

public function handle()
{
    Slack::to('#channel')->send('message');
}