package for send sms with laravel (All gatways in Iran)
For install this package Edit your project's composer.json
file to require pamenary/LaravelSms
"require": {
"pamenary/laravel-sms": "dev-master"
},
Now, update Composer:
composer update
Once composer is finished, you need to add the service provider. Open app/config/app.php
, and add a new item to the providers array.
Pamenary\LaravelSms\Laravel\SmsServiceProvider::class,
Next, add a Facade for more convenient usage. In app/config/app.php
add the following line to the aliases array:
'Sms' => Pamenary\LaravelSms\Laravel\Facade\Sms::class,
Publish config files:
php artisan vendor:publish
for change username, password and other configuration change app/config/sms.php
use Pamenary\LaravelSms\Sms;
$sms = new Sms();
$sms->sendSMS(['09123456789'], 'text message');
use Pamenary\LaravelSms\Sms;
$sms = new Sms();
$sms->getCredit();
https://azinweb.com/ https://arad-sms.ir https://ariaideh.com https://www.0098sms.com https://500sms.ir https://adpdigital.com/services https://afe.ir https://www.afilnet.com https://sms.amansoft.ir https://www.arkapayamak.ir https://asanak.ir https://asanak.ir https://barzingostar.ir https://www.bearsms.com https://panelsms.bestit.co https://bulutfon.com https://caffeweb.com https://chapargah.ir https://chaparpanel.ir https://csmsplus.mobilinkworld.com https://sms.dot4all.it https://esms24.ir https://smspanel.faraed.com https://www.farapayamak.com https://farazpayam.com https://fayasms.ir https://firstpayamak.ir https://fortytwo.com https://freepayamak.ir https://sms.hostiran.net https://melipayamak.ir https://www.linepayamak.ir https://saharsms.com https://negar.armaghan.net https://payamakaria.com