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

ActiveLibrary

immortalvision/laravel-slack
============================

A laravel integration for slack api

v1.0.3(5y ago)17MITPHPPHP ^7.4 || ^8.0

Since Jul 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ImmortalVision/laravel-slack)[ Packagist](https://packagist.org/packages/immortalvision/laravel-slack)[ Docs](https://imvx.org/packages)[ RSS](/packages/immortalvision-laravel-slack/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

[![Build Status](https://camo.githubusercontent.com/d027d4e710c2f66bca7259013667cec5bf0a33cbb01cf8430c246a54c4f55997/68747470733a2f2f7472617669732d63692e6f72672f696d6d6f7274616c766973696f6e2f6c61726176656c2d736c61636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/immortalvision/laravel-slack)[![StyleCI](https://camo.githubusercontent.com/754dab222361f71a6af4c003d9c1895d4e3e7e828d547b2b1f663496119e8006/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3139393530383431322f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/199508412)[![Total Downloads](https://camo.githubusercontent.com/56f044985e1d7dbfc6e6db3c813991737ef25f57e4500df3f3a80e78263a1047/68747470733a2f2f706f7365722e707567782e6f72672f696d6d6f7274616c766973696f6e2f6c61726176656c2d736c61636b2f642f746f74616c2e737667)](https://packagist.org/packages/immortalvision/laravel-slack)[![Latest Stable Version](https://camo.githubusercontent.com/be04e0cc2e399cc3bc04c3292078e956d6d810fabcef6d88d39abcec08be73d0/68747470733a2f2f706f7365722e707567782e6f72672f696d6d6f7274616c766973696f6e2f6c61726176656c2d736c61636b2f762f737461626c652e737667)](https://packagist.org/packages/immortalvision/laravel-slack)[![License](https://camo.githubusercontent.com/1d1bb555e8e07f717ffbfbf3da765da6b48cc43d857ff0b50f522e667cc8238b/68747470733a2f2f706f7365722e707567782e6f72672f696d6d6f7274616c766973696f6e2f6c61726176656c2d736c61636b2f6c6963656e73652e737667)](https://packagist.org/packages/immortalvision/laravel-slack)

Laravel Slack
=============

[](#laravel-slack)

A laravel integration for slack api

---

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

[](#installation)

The recommended way to install this library is through Composer:

`$ composer require immortalvision/laravel-slack`

If you're not familiar with `composer` follow the installation instructions for [Linux/Unix/Mac](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) or [Windows](https://getcomposer.org/doc/00-intro.md#installation-windows), and then read the [basic usage introduction](https://getcomposer.org/doc/01-basic-usage.md).

### Laravel 5.5 and up

[](#laravel-55-and-up)

You don't have to do anything else, this package uses the Package Auto-Discovery feature, and should be available as soon as you install it via Composer.

### Laravel 5.4 or 5.3

[](#laravel-54-or-53)

Add the following Service Provider to your **config/app.php** providers array:

`ImmortalVision/LaravelSlack/LaravelSlackServiceProvider::class,`

### Publish Laravel Configuration Files (All Versions)

[](#publish-laravel-configuration-files-all-versions)

`php artisan vendor:publish --provider="ImmortalVision\LaravelSlack\LaravelSlackServiceProvider"`

### Environment Variables

[](#environment-variables)

```
SLACK_WEBHOOK_URL=

```

Usage
-----

[](#usage)

you can use dependency injection feature in any method of your controller or resolve it through laravel service container:

using dependency injection:

```
Route::get('/', function (\Maknz\Slack\Client $slackClient) {
    dd($slackClient->withIcon(':face_palm:')->send('test!'));
});
```

using service container:

```
$slackClient = resolve('Maknz\\Slack\\Client');
dd($slackClient->withIcon(':face_palm:')->send('test!'));
```

Dependencies
------------

[](#dependencies)

The library uses [Guzzle](https://github.com/guzzle/guzzle) as its HTTP communication layer.

We are using [maknz/slack](https://github.com/maknz/slack) as the slack library for now.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

4

Last Release

1941d ago

PHP version history (3 changes)v1.0PHP ^7.2

v1.0.1PHP ^8.0|^7.4

v1.0.2PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/80fe63a037c64484387e591145783fe2ca80c0ce8229d9dec92b1a1c2157ef62?d=identicon)[Pezhvak](/maintainers/Pezhvak)

---

Top Contributors

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

---

Tags

laravelphpslack

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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