btm/jawalysms is a Laravel package for jawalysms sms sender wrapper laravel.
It currently has 0 GitHub stars and 6 downloads on Packagist (latest version 1.0).
Install it with composer require btm/jawalysms.
Discover more Laravel packages by btm
or browse all Laravel packages to compare alternatives.
Last updated
...
First, you'll need to require the package with Composer:
composer require btm/jawalysms
Aftwards, run composer update from your command line.
Then, update config/app.php by adding an entry for the service provider.
'providers' => [
// ...
BTM\JawalySms\JawalySmsServiceProvider::class
];
Then, register class alias by adding an entry in aliases section
'aliases' => [
// ...
'jawalysms' => BTM\JawalySms\JawalySmsFacade::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 jawalysms.php which includes your OneSignal authorization keys.
Note: If the previous command does not publish the config file successfully, please check the steps involving providers and aliases in the
config/app.phpfile.
You need to fill in jawalysms.php file that is found in your applications config directory.
You can easily send a SMS to Specific Number with the command
\jawalysms::sendSMS("Some Message","PhoneNumber");