Skip to content

pamenary/LaravelSms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaravelSms

package for send sms with laravel (All gatways in Iran)

installation

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

Usage

Send Message

use Pamenary\LaravelSms\Sms;

$sms = new Sms();
$sms->sendSMS(['09123456789'], 'text message');

Get Credit

use Pamenary\LaravelSms\Sms;

$sms = new Sms();
$sms->getCredit();

Gateway

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