PHP code example of mukellef / sms
1. Go to this page and download the library: Download mukellef/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/ */
mukellef / sms example snippets
* Example client for send sms with Eflatun Sms provider
*/
$smsProvider = new Mukellef\Sms\Sms("EflatunSms", array(
"username" => "eflatun_sms_username",
"password" => "eflatun_sms_password"
));
echo $smsProvider->send("Selam", array(5557777777), "YENICO");
php artisan vendor:publish --tag=sms