PHPackages                             raffmartinez/php-slack-wrapper - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. raffmartinez/php-slack-wrapper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

raffmartinez/php-slack-wrapper
==============================

Simple PHP Slack Wrapper for quick integration.

0.1.0(5y ago)016MITPHPCI failing

Since Jun 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ArchangelDesign/php-slack-wrapper)[ Packagist](https://packagist.org/packages/raffmartinez/php-slack-wrapper)[ RSS](/packages/raffmartinez-php-slack-wrapper/feed)WikiDiscussions master Synced 1w ago

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

PHP Slack Wrapper
=================

[](#php-slack-wrapper)

#### Simple PHP Slack wrapper for quick integration

[](#simple-php-slack-wrapper-for-quick-integration)

### Usage:

[](#usage)

#### Initialize with legacy token (classic bot)

[](#initialize-with-legacy-token-classic-bot)

```
$legacyApiKey = 'xoxp-123456789-1234567890';
$slack = new \RaffMartinez\Slack\Slack($legacyApiKey);
```

#### Get channel list

[](#get-channel-list)

```
$channelList = $slack->getChannelList();
```

#### Post message

[](#post-message)

```
$slack->postMessage($channelList[0], \RaffMartinez\Slack\Message::simpleMessage('Hello', 'MyBot'));
$ts = $slack->getLastMessageTs();
```

#### Reply to message

[](#reply-to-message)

```
$slack->postMessage($channelList[0], \RaffMartinez\Slack\Message::responseMessage('Hello', 'MyBot', $ts));
```

#### Get user list

[](#get-user-list)

```
$allUsers = $slack->getUserList();
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2168d ago

### Community

Maintainers

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

---

Top Contributors

[![ArchangelDesign](https://avatars.githubusercontent.com/u/8267447?v=4)](https://github.com/ArchangelDesign "ArchangelDesign (21 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/raffmartinez-php-slack-wrapper/health.svg)

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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