juanalessandrini/apiwapp_conector

Script php to connect apiwapp.com.ar services

v1.0.1 2023-05-09 10:23 UTC

This package is auto-updated.

Last update: 2024-05-09 12:41:26 UTC


README

Script php to connect apiwapp.com.ar services

Follow the instructions

  1. Add library reference
composer install juanalessandrini/apiwapp_conector
Goto ApiWapp.com.ar and get the API token. Replace token on .env file
    // vendor/juanalessandrini/apiwapp_conector/.env
    APIWAPP_TOKEN=yourToken
Add library reference
use Juanalessandrini\Apiwapp\Conector\ApiWappConector;
Create class instance:
    $whatsapp = new ApiWappConector(EntityManagerInterface,HttpClientInterface);
Call to method to send message:
    $whatsapp->sendMessage($template_uid, $params, $target);