PHPackages                             weboccult-laravel/slack-notifier - 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. weboccult-laravel/slack-notifier

ActiveLaravel-helper

weboccult-laravel/slack-notifier
================================

Simple package to send slack messages in Laravel.

1.0.3(2y ago)19MITPHP

Since Oct 2Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

slack-notifier
==============

[](#slack-notifier)

Simple package to send slack messages in Laravel.

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

[](#installation)

You can install the package via composer:

`composer require weboccult-laravel/slack-notifier`

Configuration
-------------

[](#configuration)

- You need to create slack notifier app in your slack workspace.
- Enable Incoming Webhooks in your slack workspace
- Generate Bot User OAuth Token in your slack workspace
- Set SLACK\_BOT\_USER\_OAUTH\_TOKEN in .env
- Create an Incoming Webhook for channels
- set these channels in .env
- set "Bot Token Scopes" according to your need
- set auth token, channels &amp; their webhooks in `config/services.php`

    i.e

    ```
    'slack' => [
            'notifications' => [
                'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
                'general' => env('SLACK_GENERAL_WEBHOOK_URL'),
                'laravel-slack-demo' => env('SLACK_LARAVEL_SLACK_DEMO_WEBHOOK_URL'),
        ],
    ]

    ```

Examples
--------

[](#examples)

1. Simple message

    ```
    slack_send_message("Hello from *slack-notifier*","channel_name");

    ```
2. Message with heading

    ```
    slack_send_message_with_heading("Welcome to *slack-notifier*","New message for you :wave:","channel_name");

    ```
3. Message with field blocks

    - Without heading

    ```
    slack_send_message_with_field_block("This is message for you",[
                'System Name' => config('app.name'),
                'System URL' => config('app.url'),
                'System Description' => 'Slack Notifier System'
            ],'general');

    ```

    - With heading

    ```
    slack_send_message_with_field_block("This is message for you",[
                'System Name' => config('app.name'),
                'System URL' => config('app.url'),
                'System Description' => 'Slack Notifier System'
            ],'general', ":bell: Alert :bell:");

    ```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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 ~0 days

Total

4

Last Release

953d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/71640df6f562b2a229726a84cda07fcfb073fc5194545a2f7ca2bdb9c16365c6?d=identicon)[Mit Kathrotia](/maintainers/Mit%20Kathrotia)

---

Top Contributors

[![mitk-weboccult](https://avatars.githubusercontent.com/u/127378094?v=4)](https://github.com/mitk-weboccult "mitk-weboccult (14 commits)")

### Embed Badge

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

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[spatie/laravel-uptime-monitor

A powerful, easy to configure uptime monitor

1.1k234.4k8](/packages/spatie-laravel-uptime-monitor)[spatie/laravel-backup-server

Backup multiple applications

17016.7k1](/packages/spatie-laravel-backup-server)[exceedone/exment

Management for Product, Client, Contracts, Subscription, ...

27937.6k](/packages/exceedone-exment)[awssat/discord-notification-channel

Discord Notification Channel for laravel.

94122.8k](/packages/awssat-discord-notification-channel)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)

PHPackages © 2026

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