PHP code example of icekristal / smsint-for-laravel
1. Go to this page and download the library: Download icekristal/smsint-for-laravel 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/ */
use Icekristal\SmsintForLaravel\Facades\Smsint;
$phone = ["+79007778899", "+37008009900"];
$textMessage = "Test message integration for service smsint";
$service = Smsint::setRecipients($phone);
$service->setSenderName("SenderName");
$service->setMessage($textMessage);
$service->setIsOnlyValid(true); //true - no send, only check.
$service->setParams([$params]); //set no
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.