{"repo":"spatie/interactive-slack-notification-channel","free":true,"listed":false,"github":"https://github.com/spatie/interactive-slack-notification-channel","clone":"git clone https://github.com/spatie/interactive-slack-notification-channel.git","description":"Send interactive Slack notifications in Laravel apps","language":"PHP","stars":66,"topics":["laravel","php","notifications","interactive","api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Send interactive Slack notifications in Laravel apps This package allows you to send interactive Slack notifications. Here's how such a notification could look like Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can install the package via composer: Usage In your Notifiable classes you should add a method named routeNotificationForInteractiveSlack that returns an array with the API token, an optionally the channel name Replying to message threads Let's assume you want your application to send a Slack notification when an order gets placed. You also want any subsequent messages about the order be place in the same thread. Using the SlackApi channels you can retrieve the API response from Slack's chat.postMessage method. With this response you could post messages on other events that happen on the order, such as order paid, shipped, closed, etc. Here's an example: In your order paid event you can have Testing Changelog Please see CHANGELOG for more information on what has changed recently. Contributing Please see CONTRIBUTING for details. Security Vulnerabilities Please review our security policy on how to report security vulnerabilities. Cred","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/interactive-slack-notification-channel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}