Weave 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
Driver Slack

Driver Slack Laravel Package

botman/driver-slack

Slack driver for BotMan, the PHP chatbot framework. Connect BotMan bots to Slack workspaces to handle messages, slash commands, and interactive events through a simple, fluent API. Works well for Laravel and standalone PHP chatbot projects.

Deep Wiki
Context7

BotMan Slack Driver

Frequently asked questions about Driver Slack
How do I install botman/driver-slack in a Laravel app?
Install it with Composer alongside botman/botman or botman/laravel, then publish the BotMan config and register the Slack driver with your bot token and signing secret. Add an HTTPS route that receives Slack event, slash command, and interactivity requests, and point the Slack app URLs at it. Because the package dates from 2019, run a dependency resolution check before installing into an existing Laravel app.
Is botman/driver-slack compatible with Laravel 10 and Laravel 11?
There is no verified support statement for Laravel 10 or 11, and the package's last release was March 2019. Its Composer constraints may pin older Guzzle or Symfony versions that conflict with modern Laravel releases. Run composer why-not and a dry-run install against your target versions, and be prepared to fork and patch the driver.
Does botman/driver-slack support PHP 8.2 and PHP 8.3?
PHP 8.2 and 8.3 compatibility is unverified; the driver was last released in March 2019 and predates those runtimes. The main risks are deprecation warnings, stricter type behavior, and transitive dependencies pinned to older versions. Test the webhook, signature verification, and outbound message paths on your exact PHP version before relying on it in production.
Does botman/driver-slack support Slack modals, Block Kit, shortcuts, and home tabs?
The driver targets classic Slack surfaces such as messages, mentions, attachments, slash commands, and interactive message actions. Newer surfaces like modals, views, home tabs, shortcuts, and richer Block Kit layouts are likely unsupported or require hand-built payloads. Confirm your required surfaces against the source before committing to the package.
How do I handle Slack slash commands with botman/driver-slack?
Point the Slack app's Slash Command request URL at the same BotMan webhook route and register the command handler through BotMan's fluent API. The driver parses the Slack request and lets you return a response payload from your handler. Keep in mind that Slack requires signing-secret verification on these requests, and the driver code has not been audited since 2019.
How does botman/driver-slack verify Slack request signatures?
Slack now requires request signing secrets, and legacy verification tokens are deprecated, so every inbound request must be validated against the signing secret. The driver's config includes a signing secret, but its verification code has not been audited since 2019. Review or replace that logic, test it with valid and invalid signatures, and reject requests that fail.
Is botman/driver-slack still maintained?
It is effectively dormant: the last release was March 2019, and the BotMan core is also in maintenance mode. Basic messaging and slash commands may still work, but newer Slack features and modern PHP and Laravel versions are not guaranteed. If you adopt it, vendor the package through a private Composer repository so you can patch it without waiting for upstream.
Can I use botman/driver-slack with Slack Socket Mode instead of a public webhook?
The package is designed around Slack's HTTP webhook model for events, slash commands, and interactivity. Socket Mode uses a WebSocket connection and is not a drop-in fit for a webhook-based BotMan driver. Unless you build a custom transport, plan to expose an HTTPS endpoint for Slack to call.
What are the alternatives to botman/driver-slack for a Laravel Slack bot?
If you are not already standardized on BotMan, compare the cost of adopting BotMan with a small owned Slack webhook controller using Laravel's HTTP client and routing. For outbound-only notifications, Laravel's notification channels may be enough. For full conversational bots, evaluate actively maintained Slack SDKs and BotMan alternatives, especially if you need modals, Block Kit, or Socket Mode.
How can I test a botman/driver-slack bot locally?
For local development, expose your Laravel route through a tunneling tool such as ngrok and configure a separate development Slack app's event, command, and interactivity URLs to point at it. Keep handler logic thin so it can be unit tested without Slack, and add explicit tests for signing-secret verification and malformed payloads. A dedicated test workspace avoids disturbing production channels.
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.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections