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 Twilio

Driver Twilio Laravel Package

botman/driver-twilio

Twilio driver for BotMan that connects your PHP chatbot to Twilio SMS, letting you send and receive messages through Twilio phone numbers. Install via Composer and wire it into BotMan to handle SMS conversations.

Deep Wiki
Context7

BotMan Twilio Driver

Frequently asked questions about Driver Twilio
How do I install botman/driver-twilio in a Laravel application?
Install it with Composer as botman/driver-twilio, then wire the Twilio driver into your existing BotMan configuration using your Twilio Account SID, auth token, and phone number. You also need a public webhook route that Twilio can call for inbound SMS. Because the package is legacy, run a compatibility spike first and pin exact BotMan, PHP, Laravel, Twilio SDK, and driver versions before relying on it.
Which Laravel versions does botman/driver-twilio support?
There is no maintained support matrix, and the package has not had a release since 2018, so modern Laravel 10 and Laravel 11 support is unproven. It likely aligns with older BotMan and PHP 7.x-era dependencies rather than current Laravel conventions. Treat Laravel compatibility as something you must test in an isolated route or service before adopting it.
Which BotMan version is required by botman/driver-twilio?
The package likely targets older BotMan 2.x-era conventions, but repository metadata is unavailable and the exact requirement cannot be assumed from the package description. You should inspect the locked Composer dependencies and test against the BotMan version your application already uses. If you are not already standardized on BotMan, adopting this driver also means adopting BotMan as an additional framework layer.
Does botman/driver-twilio validate Twilio webhook signatures?
Twilio webhook signature validation is not confirmed in the available package context, and missing modern security practices are a known risk for legacy integrations. Do not assume the driver validates Twilio request signatures for you. Add Twilio signature validation in your Laravel route or middleware before passing the request into BotMan.
Can I use botman/driver-twilio with PHP 8 and Laravel 11?
PHP 8 and Laravel 11 compatibility is not proven, and the package's 2018 release date suggests pinned legacy dependencies that may block modern stacks. A short compatibility spike is the right first step, with PHP, Laravel, BotMan, Twilio SDK, and driver versions explicitly pinned. If it fails, plan to fork the driver or replace it with a custom Twilio webhook controller and outbound SMS service.
How do I receive inbound Twilio SMS with BotMan and this driver?
You configure your Twilio phone number to call a public webhook endpoint, register that route in your Laravel application, and let the driver parse the Twilio payload into a BotMan message. Your BotMan conversation handlers then produce replies that the driver sends back through the Twilio REST API. For production, add secure credential storage, Twilio signature validation, logging, and duplicate webhook handling around the driver.
Does botman/driver-twilio support MMS, delivery receipts, and duplicate webhook handling?
The package description focuses on inbound SMS handling and outbound replies, and it does not confirm MMS, delivery receipts, retries, or duplicate webhook handling. Twilio may retry webhooks, so your application should implement idempotency and replay protection rather than assuming the driver does it. Confirm any MMS or receipt behavior in a non-production round-trip test before committing to the integration.
How should I test botman/driver-twilio before using it in production?
Start with a time-boxed compatibility spike in an isolated Laravel route or small service, pinning PHP, Laravel, BotMan, Twilio SDK, and driver versions explicitly. Run a non-production webhook round trip, then simulate Twilio retries, duplicate payloads, outbound API failures, and credential rotation. After that, use a limited pilot phone number with realistic SMS traffic before deciding whether to maintain a fork or replace the driver.
What are the best alternatives to botman/driver-twilio for SMS in Laravel?
For greenfield Laravel applications that do not already use BotMan, the better fit is usually the current Twilio PHP SDK behind a thin application service with a custom webhook controller. If you already rely on BotMan conversation handlers, forking this driver may preserve reuse but requires ownership of upgrades, security patches, and Twilio SDK updates. A maintained Laravel notification channel or direct Twilio integration can also reduce the legacy framework layer.
Is botman/driver-twilio maintained and safe for production?
It is effectively unmaintained: the last release is from 2018, community signal is very low, and repository metadata is unavailable. That creates high maintenance and security risk, especially around modern Laravel and PHP compatibility, Twilio SDK updates, signature validation, idempotency, and retry handling. Use it only for a prototype unless your team explicitly owns a fork with upgrades, monitoring, and operational runbooks.
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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
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