Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Slack Slash Command Laravel Package

spatie/laravel-slack-slash-command

Build Slack slash commands in Laravel. Define handlers to validate and process incoming Slack requests, reply within 3 seconds or dispatch jobs for longer work, and send structured responses back to Slack. Includes request/response helpers and simple routing of commands.

View on GitHub
Deep Wiki
Context7

title: General flow weight: 1

Whenever you type in a slash command in Slack channel, a http request will be sent to your Laravel app. You have to respond to that command within 3 seconds. Failing to do so will result in an error being displayed in the channel. In this package the initial response will be sent by a Handler. Learn more on how to send the initial response.

After that first response you're allowed to send multiple delayed responses. There are some limitations. You may respond up to 5 times within 30 minutes after the user typed in the slash command on the slack channel. These delayed responses will be sent by queued jobs that you can dispatch using the package. Learn more on how to send delayed responses.

This is just a quick summary of the general flow. Before using this package it's highly recommended to go over this excellent article explaining how slash commands work, on Slack's API site.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport