New

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

viodev/laravel-slack

Laravel package for sending slack message.
8,313 2

Larablocks Analysis

viodev/laravel-slack works with Laravel 7 to 13 (latest release 1.3.1, Nov 2, 2026).

Promising: maintained and up to date, meets 2 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Nov 2, 2026)
  • 562 downloads a month (needs 10,000)
  • 2 GitHub stars (needs 100)

State

Maintained
  • Last stable release: Nov 2, 2026.
  • 1 release in the last 12 months.
  • First released: May 5, 2023.
  • Monthly downloads: 562.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.

Install
composer require viodev/laravel-slack
Latest Version:1.3.1
PHP:^8.0
Laravel:7 – 13
License:MIT
Last Updated:Nov 2, 2026
Links: GitHub  ·  Packagist
Maintainer: viodev

Laravel slack

Send messages to slack from Laravel application.

Installation

composer require viodev/laravel-slack

Publish config

php artisan vendor:publish --tag="slack-config"

Usage

Basic message

Send simple message

use Viodev\Slack;

Slack::to('info')->message('My simple message');
Send blocks

Send complex message with contextual blocks

use Viodev\Slack;

// Create slack instance with title going to info channel

$slack = Slack::to('info')->title('My message title');

// Start first block with success trim

$slack->block('Key 1', 'Value 2')->success(); // Set success trim for current block
$slack->addToBlock('Key 2', 'Value 2');
$slack->addToBlock('Key 3', 'Value 3');

// Start 2nd block with error trim

$slack->newBlock('Errors', '1 error occurred');
$slack->addToBlock('Error 1', 'Exception 1')->error(); // Set error trim for current block

// Complete block and send

$slack->send();

Related Packages

maknz/slack

A simple PHP package for sending messages to Slack, with a focus on ease of use...

12,415,289 1,156
nexylan/slack

A simple PHP package for sending messages to Slack, with a focus on ease of use...

1,687,466 103
jeremykenedy/slack

A simple PHP package for sending messages to Slack.

1,020,489 10
maknz/slack-laravel

Laravel 4 and 5 integration for the maknz/slack package, including facades and s...

999,845 154
jeremykenedy/slack-laravel

Laravel integration for the jeremykenedy/slack package, including facades and se...

830,095 53

Version History

Version Released PHP Laravel License
1.3.1 ^8.0 ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
1.3.0 ^8.0 ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0 MIT
1.2.1 ^8.0 ^7.0|^8.0|^9.0|^10.0|^11.0 MIT
1.2.0 ^8.0 ^7.0|^8.0|^9.0|^10.0|11.0 MIT
1.1.0 ^8.0 ^7.0|^8.0|^9.0|^10.0|11.0 MIT