pro-sales / laravel-websms
A simple package to send sms messages using the websms.com apiii.
Installs: 4 072
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 3
Open Issues: 0
Requires
- php: >=5.6
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ~6.0
- illuminate/support: ^5.2|^6.0
README
Please note that WhatsApp messages are currently not supported.
Usage
Step 1
Install the package
composer require pro-sales/laravel-websms
Step 2
Publish the config file
php artisan vendor:publish --provider="ProSales\WebSms\WebSmsServiceProvider"
Don't forget to update the access token in the config!
Step 3
Send your first message:
WebSms::smsMessage() ->to("+41791234567") ->text("Hallo von Laravel") ->send();