This Library for wablas API.
https://kudus.wablas.com/doc-api
- Copy
Libraries/Wablas.phpto YourApp/Libraries/ - Copy
Controlles/Example.phpto YourApp/Controllers/for testing - Add route if needed
Just need define at the top
use App\Libraries\Wablas;
and call function
public function send()
{
$wablas = new Wablas();
$phone = '081280xxxxxx';
$text = 'Test WA';
$result = $wablas->sendText($phone,$text);
echo "<pre>";
print_r($result);
}