1. Go to this page and download the library: Download dekate/kiriminwa library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dekate / kiriminwa example snippets
use KiriminWa/Whatsapp;
use KiriminWa/Sms;
use KiriminWa/Email;
// ...
$whatsappClient = new Whatsapp("MY_API_KEY");
$smsClient = new Whatsapp("MY_API_KEY");
$emailClient = new Whatsapp("MY_API_KEY");
$resultWhatsapp = $whatsappClient->sendMessage('880123456789', 'Hello World!');
$resultSms = $smsClient->sendSms('880123456789', 'Hello World!');
$resultEmail = $emailClient->sendEmail("[email protected]", "Subject", "Message", "sender", "[email protected]")
$resultBody = $result->body;
use KiriminWa/Facade/Whatsapp;
use KiriminWa/Facade/Sms;
use KiriminWa/Facade/Email;
// ...
$resultWhatsapp = Whatsapp::sendMessage('880123456789', 'Hello World!');
$resultSms = Sms::sendSms('880123456789', 'Hello World!');
$resultEmail = Email::sendEmail("[email protected]", "Subject", "Message", "sender", "[email protected]")
bash
php artisan vendor:publish --tag=kiriminwa
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.