emizoripx / many-contacts
Library to integrate the Many Contacts service
v0.3.0
2024-06-07 16:03 UTC
This package is auto-updated.
Last update: 2025-01-07 20:04:05 UTC
README
Package for sending Whatsapp messages with the ManyContacts service.
Supports
- Send whatsapp text messages.
Configure
Before use, you must configure the following parameters
- In the
.env
file of the project copy and set the following environment variables
MANYCONTACTS_API_HOST=
MANYCONTACTS_API_TOKEN=
Usage
- To send a message just call the Facade
EmizorIpx\ManyContacts\Facades\ManyContacts
to methodsendTextMessage
and specify the required parameters
use EmizorIpx\ManyContacts\Facades\ManyContacts; $response = ManyContacts::sendTextMessage($number_phone, $data);