emizoripx / many-contacts
Library to integrate the Many Contacts service
Installs: 350
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/emizoripx/many-contacts
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
.envfile 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\ManyContactsto methodsendTextMessageand specify the required parameters
use EmizorIpx\ManyContacts\Facades\ManyContacts;
$response = ManyContacts::sendTextMessage($number_phone, $data);