Twilio Integration
Send Whatsapp messages using Twilio and native Filament Notification class
Author:
Fady Mondy
Documentation

Send Whatsapp messages using Twilio and native filament Notification Facade class
#Screenshots

#Installation
composer require tomatophp/filament-twilio
#Using
first of all you need to add this variables to your .env file
TWILIO_SID=
TWILIO_TOKEN=
TWILIO_SENDER_NUMBER=
then clear you cache
php artisan config:cache
now on your User model add this trait
use TomatoPHP\FilamentTwilio\Traits\InteractsWithTwilioWhatsapp;
class User extends Authenticatable
{
use InteractsWithTwilioWhatsapp;
}
now you are ready to use the notification
\Filament\Notifications\Notification::make()
->body('Your Message You Like To Send Here!')
->sendToTwilioWhatsapp(
user: $user,
mediaURL: "https://images.unsplash.com/photo-1545093149-618ce3bcf49d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=668&q=80"
);
or you can use it from user model direct
$user->notifyTwilioWhatsapp(
message: 'Your Message You Like To Send Here!',
mediaURL: "https://images.unsplash.com/photo-1545093149-618ce3bcf49d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=668&q=80"
);
#Publish Assets
you can publish config file by use this command
php artisan vendor:publish --tag="filament-twilio-config"
#Other Filament Packages
Checkout our Awesome TomatoPHP
The author
Send Whatsapp messages using Twilio and native Filament Notification class
From the same author
Discord Notifications
Send notifications to a Discord channel using the native FilamentPHP Notification Facade class
Author:
Fady Mondy
Tenancy Multi-database
Tenancy multi-database integration for FilamentPHP
Author:
Fady Mondy
Menu Generator
Menu view generator using view component
Author:
Fady Mondy
Translations Manager
Manage your translation with DB and cache, you can scan an collect translation strings like `trans()` and `__()`, and translate them using UI
Author:
Fady Mondy
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission