Skip to content

Alfulayt/mobilywssms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MobilyWsSms SMS Sender mobily.ws Wrapper for Laravel 5

Introduction

...

Installation

First, you'll need to require the package with Composer:

composer require abdualrhmanio/mobilywssms

Aftwards, run composer update from your command line.

Then, update config/app.php by adding an entry for the service provider.

'providers' => [
	// ...
	Abdualrhmanio\MobilyWsSms\MobilyWsSmsServiceProvider::class
];

Then, register class alias by adding an entry in aliases section

'aliases' => [
	// ...
	'mobilywssms' => Abdualrhmanio\MobilyWsSms\MobilyWsSmsFacade::class
];

Finally, from the command line again, run

php artisan vendor:publish --tag=config

to publish the default configuration file. This will publish a configuration file named mobilywssms.php which includes your jawalbsms App Credentials.

Note: If the previous command does not publish the config file successfully, please check the steps involving providers and aliases in the config/app.php file.

Configuration

You need to fill in mobilywssms.php file that is found in your applications config directory.

Usage

Sending a SMS To Specific Number

You can easily send a SMS to Specific Number with the command

\mobilywssms::sendSMS("Some Message","PhoneNumber");

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages