Download the PHP package mmeester/mmees-slack-notifier without Composer
On this page you can find all versions of the php package mmeester/mmees-slack-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mmeester/mmees-slack-notifier
More information about mmeester/mmees-slack-notifier
Files in mmeester/mmees-slack-notifier
Package mmees-slack-notifier
Short Description Get notifications in your desired Slack Channel on sales or order changes
License MIT
Informations about the package mmees-slack-notifier
Slack notifications for Shopware 6
Installation
Composer
Install the plugin using composer
Activate plugin
In your CLI run the following inside the root of your Shopware project:
Detect new plugins: bin/console plugin:refresh
👉 Look for the new plugin
Install & activate the plugin: bin/console plugin:install --activate mmeesSlackNotifier
Shopware store installation
URL will follow once the plugin is published to the Shopware store
Setup
To use the plugin we need a Slack webhook to post an event:
Slack setup
- Go to https://api.slack.com/apps
- Click the green button "Create new app" in the right top corner
- Give your app a proper name (eq. "Shopware"), select the workspace you want to install the app, and click the button "Create App"
- Create a webhook clicking the option "Incoming Webhooks"
- Activate the webhook by flipping the switch in the right top corner
- Scroll down and click the button "Add New Webhook to Workspace", select the channel you want your notifications to be posted to and click "Allow"
Shopware Setup
- Install the plugin to your Shopware store
- Copy the webhook URL and add this to the configuration of this plugin.
- You are all setup, start selling / placing orders and notifications will follow
What is next?
First thoughts on extending
Currently We're looking for ideas / inspiration on watchable events.Please create an issues if you also have some thoughts on this! Here are some first thoughts:
- [x] State changes on order
- [ ] New customer registration
- [ ] Failed admin login attempt
- [ ] New review
- [ ] Newsletter subscription
- [ ] Product out of stock
- [ ] Return request
Other work to do
- [ ] Refactor current code
Contributing
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer