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

ActiveLibrary[API Development](/categories/api)

jolicode/slack-php-api
======================

An up to date PHP client for Slack's API

v4.9.0(2mo ago)2534.4M—3.8%61[12 issues](https://github.com/jolicode/slack-php-api/issues)[2 PRs](https://github.com/jolicode/slack-php-api/pulls)12MITPHPPHP &gt;=8.1CI failing

Since Nov 15Pushed 2mo ago13 watchersCompare

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

READMEChangelog (10)Dependencies (26)Versions (33)Used By (12)

 [![Slack PHP API](https://camo.githubusercontent.com/edd2577a53f1fda24b2e3425f49fbfe335f7e6a6fd909b7cd4d1e179951a6e2d/68747470733a2f2f6a6f6c69636f64652e636f6d2f6d656469612f6f726967696e616c2f6f73732f686561646572732f736c61636b2d7068702d6170692e706e67)](https://github.com/jolicode/slack-php-api)
 The Complete Slack SDK for PHP
 *###### An automatically generated and up-to-date SDK.*
==================================================================================================================================================================================================================================================================================================================================================================================================

[](#------the-complete-slack-sdk-for-php----an-automatically-generated-and-up-to-date-sdk)

[![PHP Version Require](https://camo.githubusercontent.com/049852ae0f31a9019846443efec8b21f7172ee55d6bd63ff263fd38f30ccaa2e/687474703a2f2f706f7365722e707567782e6f72672f6a6f6c69636f64652f736c61636b2d7068702d6170692f726571756972652f706870)](https://packagist.org/packages/jolicode/slack-php-api)[![Monthly Downloads](https://camo.githubusercontent.com/f1784e0ad8250c89a0bc46055355019458b603aec59eabda1f0a523d52432270/687474703a2f2f706f7365722e707567782e6f72672f6a6f6c69636f64652f736c61636b2d7068702d6170692f642f6d6f6e74686c79)](https://packagist.org/packages/jolicode/slack-php-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)

⚠ Word of Warning
-----------------

[](#-word-of-warning)

Slack decided a long time ago to abandon  which held the reference OpenAPI specification for the Slack API. This is a bummer for open-source, open formats, and interoperability. This library survives on [patches from the community](resources/slack-openapi-sorted.patch)to make the schema up to date and to add missing features.

License
-------

[](#license)

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

This project is not affiliated with Slack Technologies, LLC.

[![JoliCode is sponsoring this project](https://camo.githubusercontent.com/5dd64f06b500f261fcaac4e3594ca2d4efa01177f217c45a88835dc62140aaa2/68747470733a2f2f6a6f6c69636f64652e636f6d2f6d656469612f6f726967696e616c2f6f73732f666f6f7465722d6769746875622e706e673f7633)](https://jolicode.com/)

###  Health Score

70

—

ExcellentBetter than 100% of packages

Maintenance85

Actively maintained with recent releases

Popularity63

Solid adoption and visibility

Community39

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

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

Recently: every ~213 days

Total

31

Last Release

69d 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 (5 changes)v1.0.0PHP &gt;= 7.1

v2.4.0PHP &gt;= 7.2

v4.4.0PHP &gt;=7.4

v4.7.0PHP &gt;=8.0

v4.9.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/c177e9f7e88fba40b24b047954fe1ff793d48c2bd8bb12bb2e412aa9ea633ede?d=identicon)[pyrech](/maintainers/pyrech)

![](https://www.gravatar.com/avatar/ebbe48a3e30540f24739602c197ad1212aeb81af96077aed5eb2a300267306bd?d=identicon)[damienalexandre](/maintainers/damienalexandre)

---

Top Contributors

[![pyrech](https://avatars.githubusercontent.com/u/2021641?v=4)](https://github.com/pyrech "pyrech (103 commits)")[![damienalexandre](https://avatars.githubusercontent.com/u/225704?v=4)](https://github.com/damienalexandre "damienalexandre (89 commits)")[![xavierlacot](https://avatars.githubusercontent.com/u/177293?v=4)](https://github.com/xavierlacot "xavierlacot (8 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (7 commits)")[![matthewnessworthy](https://avatars.githubusercontent.com/u/5653887?v=4)](https://github.com/matthewnessworthy "matthewnessworthy (3 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)")[![mpyw](https://avatars.githubusercontent.com/u/1351893?v=4)](https://github.com/mpyw "mpyw (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)")[![pmoorani](https://avatars.githubusercontent.com/u/33133656?v=4)](https://github.com/pmoorani "pmoorani (1 commits)")[![Ercogx](https://avatars.githubusercontent.com/u/22002063?v=4)](https://github.com/Ercogx "Ercogx (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)")[![tchapuis](https://avatars.githubusercontent.com/u/15218089?v=4)](https://github.com/tchapuis "tchapuis (1 commits)")[![ternel](https://avatars.githubusercontent.com/u/359558?v=4)](https://github.com/ternel "ternel (1 commits)")[![TheIrritainer](https://avatars.githubusercontent.com/u/5379868?v=4)](https://github.com/TheIrritainer "TheIrritainer (1 commits)")[![binoculars88](https://avatars.githubusercontent.com/u/5108830?v=4)](https://github.com/binoculars88 "binoculars88 (1 commits)")[![jurgenhaas](https://avatars.githubusercontent.com/u/1475675?v=4)](https://github.com/jurgenhaas "jurgenhaas (1 commits)")

---

Tags

hacktoberfestopenapipsr-18psr-7sdkslackslack-apislack-clientswaggerapiclientsdkswaggeropenapislackslackapi

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[openai-php/client

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

5.8k22.6M232](/packages/openai-php-client)[mozex/anthropic-php

Anthropic PHP is a supercharged community-maintained PHP API client that allows you to interact with Anthropic API.

46365.1k13](/packages/mozex-anthropic-php)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[jolicode/harvest-php-api

An up to date PHP client for Harvest's API

2259.9k](/packages/jolicode-harvest-php-api)[qwen-php/qwen-php-client

robust and community-driven PHP SDK library for seamless integration with the qwen AI API, offering efficient access to advanced AI and data processing capabilities

213.2k1](/packages/qwen-php-qwen-php-client)

PHPackages © 2026

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