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 Laravel Package

driveop/twilio-bundle

View on GitHub
Deep Wiki
Context7

DriveOpTwilioBundle

A simple Symfony bundle for Twilio Api.

Only SMS/WhatsApp!

Setup

Step 1: Download DriveOpTwilioBundle using composer

Add Twilio Bundle in your composer.json:

{
    "require": {
        "driveop/twilio-bundle": "^0.1"
    }
}

Now tell composer to download the bundle by running the command:

$ php composer.phar update "driveop/twilio-bundle"

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new DriveOp\TwilioBundle\DriveOpTwilioBundle()
    );
}

Step 3: Add configuration

# app/config/config.yml
driveop:
        twilio:
            twilio_sid:    %twilio_sid%
            twilio_token:  %twilio_token%

Usage

Using service

<?php
        $twilioClient = $this->get('twilio_client');
?>

##Example

###Send WhatsApp message

<?php 
    $message = $twilioClient->sendWhatsAppMessage($to, $from, $body);
?>
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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table