pamenary / LaravelSms by pamenary

package for send sms with laravel (All gatways in Iran)
417
15
2
Package Data
Maintainer Username: pamenary
Maintainer Contact: info@azinweb.com (ali pamenari)
Package Create Date: 2016-12-23
Package Last Update: 2024-03-26
Home Page: https://azinweb.com/?p=3311
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:26:21
Package Statistics
Total Downloads: 417
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 15
Total Watchers: 2
Total Forks: 3
Total Open Issues: 0

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/LaravelSms": "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

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

Change Gateway

$sms = new Sms(new \Pamenary\LaravelSms\Gateways\AzinwebGateway());

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

Get Credit

Sms::getCredit();

Gateway

https://azinweb.com/ http://arad-sms.ir http://ariaideh.com http://www.0098sms.com http://500sms.ir http://adpdigital.com/services http://afe.ir http://www.afilnet.com http://sms.amansoft.ir http://www.arkapayamak.ir http://asanak.ir http://asanak.ir http://barzingostar.ir http://www.bearsms.com http://panelsms.bestit.co http://bulutfon.com http://caffeweb.com http://chapargah.ir http://chaparpanel.ir http://csmsplus.mobilinkworld.com http://sms.dot4all.it http://esms24.ir http://smspanel.faraed.com http://www.farapayamak.com http://farazpayam.com http://fayasms.ir http://firstpayamak.ir http://fortytwo.com http://freepayamak.ir http://sms.hostiran.net http://melipayamak.ir