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

ActiveLibrary[API Development](/categories/api)

bart1337/slack-php-api
======================

An up to date PHP client for Slack's API

1.0.1(2y ago)05MITPHPPHP &gt;=7.4

Since May 26Pushed 2y agoCompare

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

READMEChangelog (2)Dependencies (13)Versions (3)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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

Total

2

Last Release

1018d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9958c06312f2525a8559bd60a6b308788e6c7e1bb2ec266cdb85393c94bdb208?d=identicon)[m4drock](/maintainers/m4drock)

---

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 (78 commits)")[![xavierlacot](https://avatars.githubusercontent.com/u/177293?v=4)](https://github.com/xavierlacot "xavierlacot (7 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (7 commits)")[![dredav](https://avatars.githubusercontent.com/u/731073?v=4)](https://github.com/dredav "dredav (3 commits)")[![matthewnessworthy](https://avatars.githubusercontent.com/u/5653887?v=4)](https://github.com/matthewnessworthy "matthewnessworthy (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)")[![jeremeamia](https://avatars.githubusercontent.com/u/107867?v=4)](https://github.com/jeremeamia "jeremeamia (1 commits)")[![mihani](https://avatars.githubusercontent.com/u/10236029?v=4)](https://github.com/mihani "mihani (1 commits)")[![bart1337](https://avatars.githubusercontent.com/u/24721340?v=4)](https://github.com/bart1337 "bart1337 (1 commits)")[![binoculars88](https://avatars.githubusercontent.com/u/5108830?v=4)](https://github.com/binoculars88 "binoculars88 (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)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (1 commits)")

---

Tags

apiclientsdkswaggeropenapislackslackapi

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[jolicode/slack-php-api

An up to date PHP client for Slack's API

2534.4M12](/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.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)

PHPackages © 2026

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