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

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

nimbles-nl/laravel-slack
========================

Laravel package for sending slack messages

v1.0.0(8y ago)112MITPHPPHP &gt;=5.5.9

Since Jan 12Pushed 8y agoCompare

[ Source](https://github.com/nimbles-nl/laravel-slack)[ Packagist](https://packagist.org/packages/nimbles-nl/laravel-slack)[ Docs](https://github.com/nimbles-nl/laravel-slack)[ RSS](/packages/nimbles-nl-laravel-slack/feed)WikiDiscussions master Synced yesterday

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

[![Build Status](https://camo.githubusercontent.com/a811782095b5a96872c74c60ac845a45ebe2fffa683f09c8d84b9f95ae83e138/68747470733a2f2f7472617669732d63692e6f72672f6e696d626c65732d6e6c2f6c61726176656c2d736c61636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nimbles-nl/laravel-slack) [![Latest Stable Version](https://camo.githubusercontent.com/4b9ac192bfce98727967bca110c4f329287e39a0409d7248083ee02ad4e48c61/68747470733a2f2f706f7365722e707567782e6f72672f6e696d626c65732d6e6c2f6c61726176656c2d736c61636b2f762f737461626c65)](https://packagist.org/packages/nimbles-nl/laravel-slack) [![License](https://camo.githubusercontent.com/e02f83cecd66ac6905e042d05891039c9479f0f12c013e190b137d79ab12181e/68747470733a2f2f706f7365722e707567782e6f72672f6e696d626c65732d6e6c2f6c61726176656c2d736c61636b2f6c6963656e7365)](https://packagist.org/packages/nimbles-nl/laravel-slack) [![Total Downloads](https://camo.githubusercontent.com/77ccdc7d8d542944276990021f6f6b6ca087ce50390a1f02c26814d939a57780/68747470733a2f2f706f7365722e707567782e6f72672f6e696d626c65732d6e6c2f6c61726176656c2d736c61636b2f646f776e6c6f616473)](https://packagist.org/packages/nimbles-nl/laravel-slack) [![codecov](https://camo.githubusercontent.com/d2d5b009585d8cfcd304bc348c864d4825c8fd6e1ca59762a1ae0fc5832b0e11/68747470733a2f2f636f6465636f762e696f2f67682f6e696d626c65732d6e6c2f6c61726176656c2d736c61636b2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/nimbles-nl/laravel-slack) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/fd9f1757f54ea2e2b5ef17c8696d198a76c6ea81a6a90510b6697007bae292a5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e696d626c65732d6e6c2f6c61726176656c2d736c61636b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nimbles-nl/laravel-slack/?branch=master)

Laravel Slack Package
=====================

[](#laravel-slack-package)

A laravel package for sending Slack messages

For more information see [Slack](https://slack.com/)

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

[](#requirements)

Laravel 5.1 or later

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

[](#installation)

Installation is a quick 3 step process:

1. Download laravel-slack using composer
2. Configure your HTTP Adapter
3. Enable the package in app.php
4. Configure your Slack credentials
5. (Optional) Configure the package facade

### Step 1: Download laravel-slack using composer

[](#step-1-download-laravel-slack-using-composer)

Add nimbles-nl/laravel-slack by running the command:

```
composer require nimbles-nl/laravel-slack

```

### Step 2: Configure you HTTP Adapter in your service container

[](#step-2-configure-you-http-adapter-in-your-service-container)

Configure the http adapter in your AppServiceProvider.php

```
use GuzzleHttp\Client as GuzzleClient;
use Http\Adapter\Guzzle6\Client as GuzzleAdapter;

$this->app->singleton('http.client', function() {
    return new GuzzleAdapter(new GuzzleClient());
});
```

### Step 3: Enable the package in app.php

[](#step-3-enable-the-package-in-appphp)

Register the Service in: **config/app.php**

```
Nimbles\Slack\SlackServiceProvider::class,
```

### Step 4: Configure Slack credentials

[](#step-4-configure-slack-credentials)

```
php artisan vendor:publish

```

Add this in you **.env** file

```
SLACK_ACCESS_TOKEN=your_secret_slack_access_token

```

### Step 5 (Optional): Configure the package facade

[](#step-5-optional-configure-the-package-facade)

Register the Slack Facade in: **config/app.php**

```
'aliases' => [

        'App' => Illuminate\Support\Facades\App::class,
        'Artisan' => Illuminate\Support\Facades\Artisan::class,
        'Auth' => Illuminate\Support\Facades\Auth::class,
        ...
        'Slack' => Nimbles\Slack\Facade\Slack::class,
```

Usage
-----

[](#usage)

```
$slackMessage = new SlackMessage('You re looking great today!', '#general', 'AwesomeBot', 'https://www.link-to-avatar.com/image.png');

app('slack')->sendMessage($slackMessage);
```

Or if you want to use facade, add this in your class after namespace declaration:

```
Slack::sendMessage(new SlackMessage('You are looking great today!'));
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

3091d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/037c773b875f021dccc428362e91aa06d54648ee41c730cf98c40dce918b6a82?d=identicon)[nimbles-nl](/maintainers/nimbles-nl)

---

Top Contributors

[![nimbles-nl](https://avatars.githubusercontent.com/u/30619122?v=4)](https://github.com/nimbles-nl "nimbles-nl (31 commits)")

---

Tags

laravelpackagephpslacklaravelpackageslack

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

6012.9M7](/packages/propaganistas-laravel-disposable-email)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

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

PHPackages © 2026

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