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

ActiveLibrary[API Development](/categories/api)

morningtrain/slack-api
======================

A complete native php wrapper for the Slack API

v1.1.0(4y ago)4903GNU General Public License v3.0PHP

Since Nov 20Pushed 4y ago3 watchersCompare

[ Source](https://github.com/Morning-Train/slack-api)[ Packagist](https://packagist.org/packages/morningtrain/slack-api)[ Docs](http://morningtrain.dk/)[ RSS](/packages/morningtrain-slack-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

PHP Slack Api
=============

[](#php-slack-api)

[![Software License](https://camo.githubusercontent.com/d4dd9e8b2c8a5143f82a9688d61eb58e7aeda127e8e770c411785931163b8137/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e63652d253230474e5525323047656e6572616c2532305075626c69632532304c6963656e736525323076332e302d627269676874677265656e2e737667)](LICENSE.md)[![](https://camo.githubusercontent.com/9b8a63eb5a126d3f3cbb0562344d18b70c87ad94abe2d66bbf324e05c489cfb2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d627269676874677265656e2e737667)](https://camo.githubusercontent.com/9b8a63eb5a126d3f3cbb0562344d18b70c87ad94abe2d66bbf324e05c489cfb2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d627269676874677265656e2e737667)

A complete native php wrapper for the [Slack API](https://api.slack.com/)

Install
-------

[](#install)

Via Composer

```
$ composer require morningtrain/slack-api
```

Usage
-----

[](#usage)

```
require 'vendor/autoload.php';
use MorningTrain\SlackApi\SlackApi;

define('SLACK_API_KEY', 'YOUR-SLACK-API-KEY');

$slack_client = new SlackApi(SLACK_API_KEY);
$result = $slack_client->getAllUsers();
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

This was coded on an early [morningtrain.dk](http://morningtrain.dk/)

License
-------

[](#license)

GNU General Public License v3.0. Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 72.2% 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 ~734 days

Total

4

Last Release

1631d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/278725?v=4)[morningtrain](/maintainers/morningtrain)[@morningtrain](https://github.com/morningtrain)

---

Top Contributors

[![bjarnebonde](https://avatars.githubusercontent.com/u/5835042?v=4)](https://github.com/bjarnebonde "bjarnebonde (13 commits)")[![mb-afk](https://avatars.githubusercontent.com/u/6816797?v=4)](https://github.com/mb-afk "mb-afk (4 commits)")[![karsteel](https://avatars.githubusercontent.com/u/5285980?v=4)](https://github.com/karsteel "karsteel (1 commits)")

---

Tags

phpapislack

### Embed Badge

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

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

###  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)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

574.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[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)
