coredevsolutions / laravel-smartconnect
A Laravel wrapper for sending SMS through Smart Connect SMS API.
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/coredevsolutions/laravel-smartconnect
Requires
- php: ^7.0
- guzzlehttp/guzzle: ^6.3
- illuminate/contracts: 5.5.*|5.6.*|5.7.*|5.8.*
- illuminate/support: 5.5.*|5.6.*|5.7.*|5.8.*
- nesbot/carbon: ~1.0
This package is auto-updated.
Last update: 2024-10-27 11:24:11 UTC
README
Overview
A Laravel wrapper for sending SMS through Smart Connect SMS API.
Requirements
- Laravel 5.5+
- PHP 7+
- Guzzle 6+
- Carbon 1.0+
Installation
You can install laravel-smartconnect package via composer.
composer require coredevsolutions/laravel-smartconnect
Configuration
Register provider and aliases on your config/app.php file.
'providers' => [ CoreDev\LaravelSmartConnect\SmartServiceProvider::class, ], 'aliases' => [ 'Smart' => CoreDev\LaravelSmartConnect\Smart::class, ],
Usage
You can use it like this:
use Smart; Smart::send('phone_number', 'message', 'username', 'password');