thungdemo / laravel-sms
Laravel wrapper for Thungdemo/Sms library
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/thungdemo/laravel-sms
Requires
- php: ^8.0
- illuminate/config: ^9.0|^10.0|^11.0
- illuminate/queue: ^9.0|^10.0|^11.0
- illuminate/support: ^9.0|^10.0|^11.0
- thungdemo/sms: ^3.0
This package is auto-updated.
Last update: 2025-11-22 06:35:23 UTC
README
Laravel wrapper for Nksquare/Sms library
Dependencies
This library requires nk-square/sms
Installation
composer require thungdemo/laravel-sms
Publish config file
php artisan vendor:publish --provider="Nksquare\LaravelSms\Providers\SmsServiceProvider" --tag="laravel-sms"
Currently supported driver is textlocal. Add the textlocal credentials to your .env fle
TEXTLOCAL_APIKEY=your_api_key
TEXTLOCAL_SENDER=your_sender
Usage
use Sms; use Nksquare\LaravelSms\Message; $message = new Message(); $message->setRecipient('1234567890'); $message->setMessage('foo bar'); Sms::send($message);