PHPackages                             viodev/laravel-slack - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. viodev/laravel-slack

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

viodev/laravel-slack
====================

Laravel package for sending slack message.

1.3.0(1y ago)26.7k↓33.3%MITPHPPHP ^8.0

Since May 5Pushed 1y agoCompare

[ Source](https://github.com/viodevni/laravel-slack)[ Packagist](https://packagist.org/packages/viodev/laravel-slack)[ RSS](/packages/viodev-laravel-slack/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

Laravel slack
=============

[](#laravel-slack)

Send messages to slack from Laravel application.

### Installation

[](#installation)

```
composer require viodev/laravel-slack

```

### Publish config

[](#publish-config)

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

```

Usage
-----

[](#usage)

### Basic message

[](#basic-message)

Send simple message

```
use Viodev\Slack;

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

```

#### Send blocks

[](#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();

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance49

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~105 days

Recently: every ~148 days

Total

8

Last Release

370d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee5c963abf271c7d8eb66b286c8807318061e7683f36b6eceb36d6a19c24bafb?d=identicon)[viodev](/maintainers/viodev)

---

Top Contributors

[![philvv](https://avatars.githubusercontent.com/u/20597147?v=4)](https://github.com/philvv "philvv (11 commits)")

---

Tags

laravelslack

### Embed Badge

![Health badge](/badges/viodev-laravel-slack/health.svg)

```
[![Health](https://phpackages.com/badges/viodev-laravel-slack/health.svg)](https://phpackages.com/packages/viodev-laravel-slack)
```

###  Alternatives

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[therobfonz/laravel-mandrill-driver

Mandrill Driver for Laravel

773.5M](/packages/therobfonz-laravel-mandrill-driver)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
