PHPackages                             geniusdev/magento2\_slack - 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. geniusdev/magento2\_slack

ActiveMagento2-module[API Development](/categories/api)

geniusdev/magento2\_slack
=========================

Slack integration for Magento 2

v1.0.2(yesterday)05↑2900%1OSL-3.0PHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0

Since Jun 18Pushed yesterdayCompare

[ Source](https://github.com/gkopec/magento2_slack)[ Packagist](https://packagist.org/packages/geniusdev/magento2_slack)[ RSS](/packages/geniusdev-magento2-slack/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (4)Used By (0)

GeniusDev Slack Integration for Magento 2
=========================================

[](#geniusdev-slack-integration-for-magento-2)

This module provides a simple way to integrate Slack notifications into your Magento 2 store. It supports both Slack Webhooks and Bot User OAuth Tokens.

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

[](#installation)

```
composer require geniusdev/slack
bin/magento module:enable GeniusDev_Slack
bin/magento setup:upgrade
```

Configuration
-------------

[](#configuration)

To configure the module, go to **Stores &gt; Configuration &gt; GeniusDev &gt; Slack**.

### General Configuration

[](#general-configuration)

- **Communication Option**: Choose between `OAuth` or `Webhook`.
- **Channel**: The Slack channel name (e.g., `#general`) or ID where messages should be sent.
- **Bot User OAuth Token**: Required if `OAuth` is selected.
- **Webhook URL**: Required if `Webhook` is selected.

Usage
-----

[](#usage)

You can send Slack messages by injecting `GeniusDev\Slack\Model\SlackClientProvider` into your class.

### Example

[](#example)

```
