1. Go to this page and download the library: Download shabayek/laravel-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/ */
shabayek / laravel-sms example snippets
'default' => 'smseg',
namespace Shabayek\Sms\Contracts;
class CustomSms implements SmsGatewayContract
{
public function send($phone, $message): array;
public function sendOtp($phone, $message = null);
public function verify(string $phone, int $otp, $actualOtp = null): bool;
public function balance() { }
}