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
Twilio Bundle

Twilio Bundle Laravel Package

vresh/twilio-bundle

A Symfony bundle that integrates the Twilio SDK, providing configurable services for sending SMS, making voice calls, and accessing Twilio APIs directly from your Laravel or Symfony application.

View on GitHub
Deep Wiki
Context7

A Symfony2 wrapper for the official SDK provided by Twilio.

Frequently asked questions about Twilio Bundle
Can I install vresh/twilio-bundle in a Laravel application?
Not practically. vresh/twilio-bundle is a Symfony2 bundle built around Symfony's DependencyInjection and config components, not a Laravel package; installing it in Laravel would mean pulling in legacy Symfony components or manually instantiating the Twilio SDK and bypassing the bundle entirely. For Laravel, use the official twilio/sdk directly or a maintained Laravel wrapper instead. The bundle's own service wiring gives you nothing inside Laravel's container.
Does vresh/twilio-bundle support Laravel 10 or 11?
No. The bundle targets Symfony 2.x and pins twilio/sdk to 4.*, a Services_Twilio-era API generation that predates Twilio\Rest\Client. Symfony 2.8 reached end of life in November 2018, and any dependency set satisfying this bundle conflicts with Laravel 9, 10, and 11. Composer resolution will typically fail or force downgrades you do not want in a modern Laravel app.
How do I install and configure VreshTwilioBundle in Symfony?
You register the bundle in AppKernel, configure your Twilio Account SID and Auth Token under the bundle's config key, and inject the preconfigured Twilio REST client service into your controllers, services, or commands. The value it adds is container wiring and credential configuration, not Twilio domain logic. Because the bundle is tied to Symfony 2 and SDK 4.x, this setup only applies to legacy Symfony projects.
Which Twilio SDK version does vresh/twilio-bundle use?
Release 1.0.2 locks the dependency to twilio/sdk 4.*. That places the bundle in the Services_Twilio and pre-Twilio\Rest\Client era, and its wrapper code is written against that older API surface. The pin explicitly avoids the breaking changes introduced in SDK 5.0. It also means environments already on SDK 5.x or later cannot co-install the bundle.
Why is twilio/sdk pinned to 4.* in vresh/twilio-bundle 1.0.2?
The 1.0.2 release note describes the pin as a defensive measure to avoid the backward-incompatible changes in Twilio SDK 5.0. It is a constraint lock, not a feature release, and there is no evidence of a forward port to Twilio\Rest\Client. The narrower constraint increases Composer conflict surface. In practice this signals maintenance-only status rather than modernization.
Is vresh/twilio-bundle still maintained?
Treat it as maintenance-only. The last feature release dates to around 2016, and the most recent publication, 1.0.2, is a defensive SDK constraint lock rather than new functionality. There is no indication of PHP 8 compatibility work or migration to the modern Twilio client. The MIT license means you can fork and patch it, but there is no active modernization path.
What should I use instead of vresh/twilio-bundle in Laravel?
Use the official twilio/sdk Composer package directly and instantiate Twilio\Rest\Client with your Account SID and Auth Token, typically bound as a singleton in a Laravel service provider. If you want a Laravel-specific wrapper, choose one that is actively maintained and tracks the current SDK. Vendor the official SDK rather than pulling in a Symfony2 bundle. This avoids the legacy Symfony dependency graph entirely.
Can VreshTwilioBundle send SMS messages and make voice calls?
Yes, in principle, because it exposes the underlying Twilio REST client as a Symfony service, so you can call the SDK's SMS and voice methods through it. However, the client it exposes is the SDK 4.x generation, so modern Twilio API features and the current Twilio\Rest\Client interface are not available. For new code, call the official SDK directly instead of going through this wrapper.
Does vresh/twilio-bundle work with PHP 8 and modern Symfony?
There is no evidence of PHP 8 compatibility work or support for modern Symfony versions. The bundle targets Symfony 2.x, which reached end of life in 2018, and pins Twilio SDK 4.*. Constraint conflicts with current Symfony and Laravel releases are likely to surface at Composer install time. Assume it is not suitable for PHP 8 projects without forking and patching.
How do I test the Twilio service when using VreshTwilioBundle?
You can mock or stub the Twilio client service in the Symfony container so your tests do not hit the live Twilio API, which is the usual approach for a thin wrapper like this. Because the bundle's own code is minimal, there is little bundle-specific behavior to test beyond service registration and credential configuration. Any meaningful Twilio request logic lives in the SDK, so test that layer against the official client's interfaces.
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