PHPackages                             rivervanrain/slack-php-api - 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. rivervanrain/slack-php-api

ActiveLibrary[API Development](/categories/api)

rivervanrain/slack-php-api
==========================

An up to date PHP client for Slack's API

4.4.0(4y ago)04MITPHPPHP &gt;=7.4

Since Nov 15Pushed 4y agoCompare

[ Source](https://github.com/RiverVanRain/slack-php-api)[ Packagist](https://packagist.org/packages/rivervanrain/slack-php-api)[ RSS](/packages/rivervanrain-slack-php-api/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (13)Versions (27)Used By (0)

A PHP client for Slack's API
============================

[](#a-php-client-for-slacks-api)

There is a bunch of existing PHP clients for Slack. But some are not up to date or miss features, some only cover a small part of the API and most are simply no longer maintained.

This SDK is generated automatically with [JanePHP](https://github.com/janephp/janephp)from the [official Slack API specs](https://github.com/slackapi/slack-api-specs).

It also provides a **full object oriented interface** for all the endpoints, requests and responses of the Slack Web API.

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

[](#installation)

This library is built atop of [PSR-7](https://www.php-fig.org/psr/psr-7/) and [PSR-18](https://www.php-fig.org/psr/psr-18/). So you will need to install some implementations for those standard interfaces.

If no PSR-18 client or PSR-7 message factory is available yet in your project or you don't know or don't care which one to use, just install some default:

```
composer require symfony/http-client nyholm/psr7
```

You can now install the Slack client:

```
composer require jolicode/slack-php-api
```

Quick start
-----------

[](#quick-start)

```
// $client contains all the methods to interact with the API
$client = JoliCode\Slack\ClientFactory::create($yourSlackToken);

$user = $client->usersInfo(['user' => 'U123AZER'])->getUser();
```

Documentation
-------------

[](#documentation)

Want more documentation or examples? See the [full documentation here](https://jolicode.github.io/slack-php-api/).

Further documentation
---------------------

[](#further-documentation)

You can see the current and past versions using one of the following:

- the `git tag` command
- the [releases page on Github](https://github.com/jolicode/slack-php-api/releases)
- the file listing the [changes between versions](CHANGELOG.md)

Finally, some meta documentation:

- [versioning and branching models](VERSIONING.md)
- [contribution instructions](CONTRIBUTING.md)

License
-------

[](#license)

This library is licensed under the MIT License - see the [LICENSE](LICENSE.md)file for details.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~75 days

Total

25

Last Release

1635d ago

Major Versions

1.2.0 → v2.0.02019-09-16

1.2.1 → v2.2.02019-10-09

v2.5.0 → v3.0.02020-08-19

v3.0.2 → v4.0.02020-12-28

PHP version history (3 changes)v1.0.0PHP &gt;= 7.1

v2.4.0PHP &gt;= 7.2

4.4.0PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2176145?v=4)[Nikolai Shcherbin](/maintainers/rivervanrain)[@RiverVanRain](https://github.com/RiverVanRain)

---

Top Contributors

[![pyrech](https://avatars.githubusercontent.com/u/2021641?v=4)](https://github.com/pyrech "pyrech (99 commits)")[![damienalexandre](https://avatars.githubusercontent.com/u/225704?v=4)](https://github.com/damienalexandre "damienalexandre (73 commits)")[![xavierlacot](https://avatars.githubusercontent.com/u/177293?v=4)](https://github.com/xavierlacot "xavierlacot (7 commits)")[![RiverVanRain](https://avatars.githubusercontent.com/u/2176145?v=4)](https://github.com/RiverVanRain "RiverVanRain (4 commits)")[![dredav](https://avatars.githubusercontent.com/u/731073?v=4)](https://github.com/dredav "dredav (3 commits)")[![Korbeil](https://avatars.githubusercontent.com/u/944409?v=4)](https://github.com/Korbeil "Korbeil (3 commits)")[![MatthewHallCom](https://avatars.githubusercontent.com/u/1230091?v=4)](https://github.com/MatthewHallCom "MatthewHallCom (2 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (1 commits)")[![mihani](https://avatars.githubusercontent.com/u/10236029?v=4)](https://github.com/mihani "mihani (1 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (1 commits)")[![jeremeamia](https://avatars.githubusercontent.com/u/107867?v=4)](https://github.com/jeremeamia "jeremeamia (1 commits)")[![samnela](https://avatars.githubusercontent.com/u/1852108?v=4)](https://github.com/samnela "samnela (1 commits)")[![simonschaufi](https://avatars.githubusercontent.com/u/941794?v=4)](https://github.com/simonschaufi "simonschaufi (1 commits)")[![ternel](https://avatars.githubusercontent.com/u/359558?v=4)](https://github.com/ternel "ternel (1 commits)")[![binoculars88](https://avatars.githubusercontent.com/u/5108830?v=4)](https://github.com/binoculars88 "binoculars88 (1 commits)")

---

Tags

apiclientsdkswaggeropenapislackslackapi

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/rivervanrain-slack-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/rivervanrain-slack-php-api/health.svg)](https://phpackages.com/packages/rivervanrain-slack-php-api)
```

###  Alternatives

[jolicode/slack-php-api

An up to date PHP client for Slack's API

2564.7M13](/packages/jolicode-slack-php-api)[openai-php/client

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

5.8k28.0M318](/packages/openai-php-client)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

1003.9M50](/packages/getbrevo-brevo-php)[deeplcom/deepl-php

Official DeepL API Client Library

2607.3M113](/packages/deeplcom-deepl-php)[mozex/anthropic-php

PHP client for the Anthropic API: messages, streaming, tool use, thinking, web search, code execution, batches, and more.

49552.5k18](/packages/mozex-anthropic-php)

PHPackages © 2026

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