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.
/deploy, /run-tests, /generate-report) without building custom integrations from scratch./support, /status, /order-update) to improve user engagement and reduce support overhead./restart-service)./get-user-status)./send-newsletter)./request-access).Adopt when:
Look elsewhere if:
spatie/laravel-slack instead).For Executives:
"This package lets us turn Slack into a productivity hub for [specific use case, e.g., ‘deploying code’ or ‘managing support tickets’] with just a few lines of Laravel code. Instead of spending weeks building a custom Slack integration, we can launch slash commands like /deploy or /status in hours—reducing friction for teams and customers alike. It’s MIT-licensed, maintained by a trusted open-source team (Spatie), and integrates seamlessly with our existing Laravel stack. The ROI is clear: faster feature delivery, happier users, and lower support costs."
For Engineering: *"This package abstracts away the painful parts of Slack slash command setup—authentication, request validation, and response formatting—so we can focus on business logic. Key benefits:
ValidateSlackRequest).SlashCommand class with methods like handle()./deploy takes ~10 minutes vs. days with raw Slack API calls. Docs are solid, and Spatie’s packages are rock-solid. Let’s prototype one command to validate before scaling."*How can I help you explore Laravel packages today?