This plugin allow you to send SMS easily by SMSGateway.
Turn your Android phone into a SMS Gateway. Send and receive messages programmatically through your phone using API service.
- Download The App From The Android Play Store here.
- Install the plugin from October MarketPlace or run
php artisan plugin:install joaquinb.smssender
. - Run
composer update
at the plugins root. - Sign Up for a free SMS Gateway account here.
- Add SMS_DEVICE_ID with your device id number found in Dashboard/devices into env file.
- Add SMS_ACCESS_TOKEN with your API token found in Dashboard/settings into env file.
- Manualy in the Backend at SMSSender tab.
- Programmatically by newSms method in Sms controller.
Use Joaquinb\Smssender\Controllers\Sms;
Sms::newSms(to, msg)
with destination number and message body as parameter.