PHPackages                             tiagomichaelsousa/slack-laravel - 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. [API Development](/categories/api)
4. /
5. tiagomichaelsousa/slack-laravel

ActiveLibrary[API Development](/categories/api)

tiagomichaelsousa/slack-laravel
===============================

A slack sdk for laravel

v0.2.0(2y ago)25[3 PRs](https://github.com/tiagomichaelsousa/slack-laravel/pulls)MITPHPPHP ^8.1|^8.2CI passing

Since Jun 29Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/tiagomichaelsousa/slack-laravel)[ Packagist](https://packagist.org/packages/tiagomichaelsousa/slack-laravel)[ RSS](/packages/tiagomichaelsousa-slack-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (8)Versions (7)Used By (0)

 [![Slack Laravel](https://raw.githubusercontent.com/tiagomichaelsousa/slack-laravel/main/art/client.png)](https://raw.githubusercontent.com/tiagomichaelsousa/slack-laravel/main/art/client.png)

 [![GitHub Workflow Status (main)](https://github.com/tiagomichaelsousa/slack-laravel/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/tiagomichaelsousa/slack-laravel/actions) [![Total Downloads](https://camo.githubusercontent.com/72c90891d46cbbd153b204c3de608e6eca0711840e3e049b815117e5b05507f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746961676f6d69636861656c736f7573612f736c61636b2d6c61726176656c)](https://packagist.org/packages/tiagomichaelsousa/slack-laravel) [![Latest Version](https://camo.githubusercontent.com/eb0ed04373d3cd6bc8ba7be552ec14019b0a55ecc07a357422f3f9fff56111f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746961676f6d69636861656c736f7573612f736c61636b2d6c61726176656c)](https://packagist.org/packages/tiagomichaelsousa/slack-laravel) [![License](https://camo.githubusercontent.com/33dbbb0924a4841c50c1d3d3f539d0bea142ba36977cb03ee80ef9175032b159/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f746961676f6d69636861656c736f7573612f736c61636b2d6c61726176656c)](https://packagist.org/packages/tiagomichaelsousa/slack-laravel)

---

**Slack Laravel** is a non-official PHP API package that allows you to interact with the [Slack API](https://api.slack.com/methods) ⚡️

> **This package is still under development.** There may have methods that are still not implemented.

---

Get Started
-----------

[](#get-started)

The official documentation for the Slack Client will be available soon. 👀

Until there you can still explore the SDK development experience with the `users()`, `conversations()` and `reminders()` methods 🚀

> **Requires [PHP 8.1+](https://php.net/releases/)**

First, install Slack Laravel via the [Composer](https://getcomposer.org/) package manager:

```
composer require tiagomichaelsousa/slack-laravel
```

Next, publish the configuration file:

```
php artisan vendor:publish --provider="Slack\Laravel\ServiceProvider"
```

This will create a `config/slack.php` configuration file in your project, which you can modify to your needs using environment variables:

```
SLACK_TOKEN=xoxb-...
```

Finally, you may use the `Slack` facade to access the Slack API:

```
use Slack\Laravel\Facades\Slack;

$conversations = Slack::conversations()->create('foo');

echo $conversations->channel->name;
```

Usage
-----

[](#usage)

For usage examples, take a look at the [tiagomichaelsousa/slack-client](https://github.com/tiagomichaelsousa/slack-client) repository.

Testing
-------

[](#testing)

The `Slack` facade provides a `fake()` method that allows you to fake the API responses.

All responses are having a `fake()` method that allows you to easily create a response object by only providing the parameters relevant for your test case.

```
use Slack\Laravel\Facades\Slack;
use Slack\Responses\Conversation\CreateConversationResponse;

Slack::fake([
    CreateConversationResponse::fake([
        'channel' => [
            'name' => 'foo',
        ],
    ]);
]);

$conversations = Slack::conversations()->create('foo');

expect($conversations->channel)->name->toBe('foo');
```

The official documentation for the Slack Client for Laravel will be available soon. 👀

---

Slack Client for Laravel is an open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance50

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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 ~1 days

Total

3

Last Release

1047d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/26550bab7dc2128c616cafe07dfaf9e859efe4bf29364a56ef636bc6574e3317?d=identicon)[tiagomichaelsousa](/maintainers/tiagomichaelsousa)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![tiagomichaelsousa](https://avatars.githubusercontent.com/u/28356381?v=4)](https://github.com/tiagomichaelsousa "tiagomichaelsousa (6 commits)")

---

Tags

phplaravelsdkpackageslack

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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