1. Go to this page and download the library: Download sachinkiranti/aakash-sms 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/ */
// $recipients can be array of phone number or a single phone number
(new AakashSms(98xxxxxxxx, "Hello From sachinkiranti/aakash-sms repo."))->send()
// or sending to multiple phone number
(new AakashSms([98xxxxxxxx, 98xxxxxxxx], "Hello From sachinkiranti/aakash-sms repo."))->send()
// Single recipient
send_aakash_sms (98xxxxxxxx, "Hello From sachinkiranti/aakash-sms repo.");
// Or multiple recipients
send_aakash_sms ([98xxxxxxxx, 98xxxxxxxx], "Hello From sachinkiranti/aakash-sms repo.");
php artisan vendor:publish --tag=aakash-sms
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.