2017 © Pedro Peláez
 

package mobilysms

A SMS Package for mobilysms

image

ahmed-aliraqi/mobilysms

A SMS Package for mobilysms

  • Tuesday, May 9, 2017
  • by ahmed-aliraqi
  • Repository
  • 0 Watchers
  • 0 Stars
  • 22 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

how can install this package

i'ts easy step ., (*1)

1 - install with composer, (*2)

composer require ahmed-aliraqi/mobilysms, (*3)

2 - add provider class to app.php in config folder ., (*4)


Mobilysms\MobilySmsProvider::class,

3 - add aliases class, (*5)

'Mobily'    => Mobilysms\Mobily::class,

4 - then call this command from composer., (*6)

php artisan vendor:publish, (*7)

5 - just call method, (*8)

Mobily::send(20123456789,'Your Message Here ');

you can get this file from this path on your project config/mobilysms.php, (*9)

and you can edit information account with mobily.ws sender name and mobile or user account and password you can edit more information if you want ! like timesend or datasend bla bla bla i'ts easy :), (*10)


return [ 'sender' =>'Ahmed', // Sender Name With Mobily.ws 'mobile' =>'123456789', // Mobile User Account With Mobily.ws 'password'=>'password here', // Password Account With Mobile.ws 'timeSend'=>0, // If You Don't know what this please don't change anything 'dateSend'=>0, // If You Don't know what this please don't change anything 'deleteKey'=>152485, // If You Don't know what this please don't change anything 'resultType'=>1, // If You Don't know what this please don't change anything 'viewResult'=>1, // If You Don't know what this please don't change anything 'MsgID'=>rand(0000,9999), // If You Don't know what this please don't change anything ];

and you can use Mobily Class On Your Controller I'ts Easy, (*11)

Configuration

You Can Edit File Language With defualt Locale folder and You Can Put your information to file mobilysms.php in config folder, (*12)

If I got a problem you will know how to solve it, (*13)

if you want check message sent i'ts easy the package was returned result true not a string, (*14)

$send = Mobily::send(123456789,'message');
if($send == true)
{
echo 'message sent';
}else{
echo $send;
}

The Versions

09/05 2017

dev-master

9999999-dev

A SMS Package for mobilysms

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by mobilysms

laravel lumen mobily.ws mobilysms

09/05 2017

1.0.1

1.0.1.0

A SMS Package for mobilysms

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by mobilysms

laravel lumen mobily.ws mobilysms