PHPackages                             sreedev/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. [HTTP &amp; Networking](/categories/http)
4. /
5. sreedev/laravel-slack

ActiveLibrary[HTTP &amp; Networking](/categories/http)

sreedev/laravel-slack
=====================

Laravel Slack Library

1.0.0(6y ago)04[3 PRs](https://github.com/rsreedevan/laravel-slack/pulls)MITPHP

Since Jun 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rsreedevan/laravel-slack)[ Packagist](https://packagist.org/packages/sreedev/laravel-slack)[ RSS](/packages/sreedev-laravel-slack/feed)WikiDiscussions master Synced today

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

laravel-slack
=============

[](#laravel-slack)

Laravel Slack API Library - Very Simple Slack API Library for Laravel

[![Build Status](https://camo.githubusercontent.com/31744c021aabfb5d5cba78d9d501c7e0befed12f572542b39c2907f939435fcc/68747470733a2f2f7472617669732d63692e6f72672f7273726565646576616e2f6c61726176656c2d736c61636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rsreedevan/laravel-slack)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/46c78da0d05d7109bbcbff05608def1f09547aed6e969246c647d43d7f3e6357/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7273726565646576616e2f6c61726176656c2d736c61636b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rsreedevan/laravel-slack/?branch=master)[![Build Status](https://camo.githubusercontent.com/78c6337846128bf91040e23824dfae84fa0f3b363b2d2e701168504dae18b073/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7273726565646576616e2f6c61726176656c2d736c61636b2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rsreedevan/laravel-slack/build-status/master)

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

[](#installation)

Add the library to your Laravel application by simply running

```
composer require 'sreedev\laravel-slack'
```

After the installation of package and dipendencies publish the config using laravel Artisan command

```
php artisan vendor:publish --provider="Sreedev\Slack\SlackServiceProvider" --tag="config"
```

Now you can add your Slack API TOKEN to the `.env` file. Add `SLACK_API_TOKEN=`

Note: To get the Slack API TOKEN you have to create an APP in slack, you can create one by visiting please ensure that you are giving the proper permissions for your App. Once you did setup the app you can find your `Bot User OAuth Access Token` under the **OAuth &amp; Permissions** menu inside app settings.

Usage
-----

[](#usage)

Import the Facade to your Controller

```
use Sreedev\Slack\Facades\Slack
```

Once imported you can literally run any Slack API requests as shown bellow

Calling Convention
------------------

[](#calling-convention)

Take the example of a Slack API Mentiod `chat.postMessage($argsArray)` , you can access it as

```
Slack::chat('postMessage',$argsArray)
```

#### Send a chat message

[](#send-a-chat-message)

```
//to a channel
Slack::chat('postMessage',['channel'=>'#channel_name', 'text'=>'Message to be send');

//to a user
Slack::chat('postMessage',['channel'=>'@username', 'text'=>'Message to be send');
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% 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

2213d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1217856?v=4)[Sreedev](/maintainers/sreedev)[@Sreedev](https://github.com/Sreedev)

---

Top Contributors

[![sreedev-r](https://avatars.githubusercontent.com/u/32166094?v=4)](https://github.com/sreedev-r "sreedev-r (8 commits)")[![rsreedevan](https://avatars.githubusercontent.com/u/2265979?v=4)](https://github.com/rsreedevan "rsreedevan (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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