PHP code example of sashapekh / vf-api-service
1. Go to this page and download the library: Download sashapekh/vf-api-service 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/ */
sashapekh / vf-api-service example snippets
artisan vendor:publish --provider="Sashapekh\VfApi\VfApiServiceProvider" --force
artisan make:migration
return (new SendSmsService())->sendOneSms("<phone>", "<message>");
return (new SendSmsService())->sendMultipleSms(['array of phones'], "<message>");