2017 © Pedro Peláez
 

library sms

package for send sms with laravel5 (published for parssms24.ir)

image

parsidev/sms

package for send sms with laravel5 (published for parssms24.ir)

  • Sunday, July 19, 2015
  • by parsidev
  • Repository
  • 2 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

laravelSms

package for send sms with laravel5 (published for parssms24.ir) this package only work for iranian mobile operator, (*1)

installation

For install this package Edit your project's composer.json file to require parsidev/sms, (*2)

"require": {
    "laravel/framework": "5.*",
    "parsidev/sms": "dev-master"
},
"minimum-stability": "dev"

Now, update Composer:, (*3)

composer update

Once composer is finished, you need to add the service provider. Open config/app.php, and add a new item to the providers array., (*4)

'Parsidev\Sms\SmsServiceProvider',

Next, add a Facade for more convenient usage. In config/app.php add the following line to the aliases array:, (*5)

'Sms' => 'Parsidev\Sms\Facades\Sms',

Publish config files:, (*6)

php artisan vendor:publish

for change username, password and other configuration change config/sms.php, (*7)

Usage

for use this package, please register on parssms24.ir, (*8)

Send Message

Sms::send('9123456789', 'text message', isFlash=True); // send flash message for a person

Sms::send(['9123456789', '91234567890'], 'text mesage', isFlash=True); // send flash message for persons


Sms::send('9123456789', 'text message'); // send normal message for a person

Sms::send(['9123456789', '91234567890'], 'text mesage'); // send normal message for persons

Get Credit

Sms::getCredit();

The Versions

19/07 2015

5.1.x-dev

5.1.9999999.9999999-dev

package for send sms with laravel5 (published for parssms24.ir)

  Sources   Download

MIT

The Requires

 

by Mohammad Reza

06/03 2015

dev-master

9999999-dev

package for send sms with laravel5 (published for parssms24.ir)

  Sources   Download

MIT

The Requires

 

by Mohammad Reza