PHP code example of mavinoo / laravel-sms-iran

1. Go to this page and download the library: Download mavinoo/laravel-sms-iran 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/ */

    

mavinoo / laravel-sms-iran example snippets


" "mavinoo/Laravel-sms-iran": "dev-master"
},

Sms::sendSMS(['09136000415', '09361265987', '09336505170'], 'text mesage'); // send message for persons

$sms = new Sms(new \Mavinoo\LaravelSmsIran\Gateways\AzinwebGateway());

$sms->sendSMS(['09136000415', '09336505170'], 'text message');

Sms::getCredit();
app/config/app.php
app/config/app.php

'Sms' => Mavinoo\LaravelSmsIran\Laravel\Facade\Sms::class,

php artisan vendor:publish
app/config/sms.php