Package Data | |
---|---|
Maintainer Username: | abdualrhmanIO |
Maintainer Contact: | mr@abdualrhman.com (Abdualrhman Basim) |
Package Create Date: | 2017-05-06 |
Package Last Update: | 2017-08-26 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-19 03:11:09 |
Package Statistics | |
---|---|
Total Downloads: | 84 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
...
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.
You need to fill in mobilywssms.php
file that is found in your applications config
directory.
You can easily send a SMS to Specific Number with the command
\mobilywssms::sendSMS("Some Message","PhoneNumber");