1. Go to this page and download the library: Download theamostafa/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/ */
theamostafa / sms example snippets
return [
/*
|--------------------------------------------------------------------------
| Default SMS gateway
|--------------------------------------------------------------------------
|
| This option controls the default gateway that is used to send any sms
| SMS sent by your application. Alternative SMS may be setup
| and used as needed; however, this SMS will be used by default.
| Supported: "alpha", "mshastra", "qyadat"
|
*/
'default' => env("SMS_GATEWAY", 'qyadat'),
'username' => env("SMS_USERNAME", null),
'sender' => env("SMS_SENDER", null),
'password' => env("SMS_PASSWORD", null),
];