PHPackages                             sukristyan/laravel-slack-sender - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. sukristyan/laravel-slack-sender

ActiveLibrary[Queues &amp; Workers](/categories/queues)

sukristyan/laravel-slack-sender
===============================

Simple and flexible Slack message sender for Laravel applications.

1.0.0(2mo ago)065↓50%MITPHPPHP ^8.2

Since Feb 25Pushed 2mo agoCompare

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

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Laravel Slack Sender
====================

[](#laravel-slack-sender)

**Laravel Slack Sender** is a simple and flexible package for sending messages to Slack from your Laravel application. It leverages Slack Incoming Webhooks for fast and easy message delivery.

Features
--------

[](#features)

- 🚀 Easy to use with fluent syntax.
- 🔗 Supports Slack Incoming Webhooks.
- 💬 Send simple text messages.
- 📎 Supports attachments for rich messages.
- 📢 Specify custom channels (if allowed by webhook configuration).

Requirements
------------

[](#requirements)

- PHP ^8.2
- Laravel Framework

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require sukristyan/laravel-slack-sender
```

Usage
-----

[](#usage)

Ensure you have a Slack **Incoming Webhook URL**. If you don't have one, you can create it in the [Slack App Management page](https://api.slack.com/messaging/webhooks).

### Basic Usage

[](#basic-usage)

Here is an example of how to send a simple message:

```
use Sukristyan\Messaging\Slack;

$webhookUrl = 'XXXXXXXXXXXXXXXXXXXXXXXX';

Slack::webhook($webhookUrl)
    ->message('Hello! This is a test message from Laravel.')
    ->send();
```

### Sending to a Specific Channel

[](#sending-to-a-specific-channel)

You can override the default channel configured in the webhook (if allowed):

```
Slack::webhook($webhookUrl)
    ->channel('#random') // optional
    ->message('This message is sent to the #random channel.')
    ->send();
```

### Sending Messages with Attachments

[](#sending-messages-with-attachments)

You can send richer messages using attachments:

```
Slack::webhook($webhookUrl)
    ->message('Daily Report') // optional
    ->attachments([
        [
            'color' => '#36a64f',
            'title' => 'Server Status',
            'text' => 'All systems are operational.',
            'fields' => [
                [
                    'title' => 'CPU Load',
                    'value' => '15%',
                    'short' => true
                ],
                [
                    'title' => 'Memory Usage',
                    'value' => '320MB',
                    'short' => true
                ]
            ]
        ]
    ])
    ->send();
```

License
-------

[](#license)

The `sukristyan/laravel-slack-sender` package is open-sourced software licensed under the [MIT LICENSE](LICENSE).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance85

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

77d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/936152dd99c2d3e474fd3bd4f89edf0533a455a5c7510ca2543385a576e4447f?d=identicon)[sukristyan](/maintainers/sukristyan)

---

Top Contributors

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

---

Tags

messagelaravelslackSenderlaravel slack sender

### Embed Badge

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

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

###  Alternatives

[baklysystems/laravel-chat-messenger

Laravel chat package

121.8k](/packages/baklysystems-laravel-chat-messenger)

PHPackages © 2026

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