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(5y 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 1mo ago

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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

2162d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b3f614b930a5e027128c357c0e8e938519f42cd33a1fefb3a8dea43da0f4bc9?d=identicon)[sreedev](/maintainers/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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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