coredevsolutions / laravel-smartconnect
A Laravel wrapper for sending SMS through Smart Connect SMS API.
dev-main
2021-07-27 03:49 UTC
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-09-27 11:08:36 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');