Download the PHP package tomatophp/filament-twilio without Composer
On this page you can find all versions of the php package tomatophp/filament-twilio. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tomatophp/filament-twilio
More information about tomatophp/filament-twilio
Files in tomatophp/filament-twilio
Package filament-twilio
Short Description Send Whatsapp messages using Twilio and native filament Notification Facade class
License MIT
Informations about the package filament-twilio

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

Requirements
| Package version | Filament | Laravel | PHP |
|---|---|---|---|
| 5.x | 5.x | 12.x, 13.x | 8.2+ |
| 1.x | 3.x | 10.x, 11.x | 8.1+ |
The Filament v3 line continues on the v3 branch.
Installation
Using
first of all you need to add this variables to your .env file
then clear you cache
Messages are sent from a queued job to the model's phone column (E.164 format, for example +201000000000). Users without a phone number are skipped, and nothing is sent until the SID, token and sender number are configured.
now on your User model add this trait
now you are ready to use the notification
or you can use it from user model direct
Publish Assets
you can publish config file by use this command
Testing
The Twilio client is resolved from the container, so you can swap it in your own tests (the package suite uses a fake Twilio\Http\Client and never calls Twilio):
Other Filament Packages
Checkout our Awesome TomatoPHP
All versions of filament-twilio with dependencies
tomatophp/console-helpers Version ^1.1
twilio/sdk Version ^8.2
filament/filament Version ^5.0
filament/notifications Version ^5.0