coredevsolutions/laravel-smartconnect

A Laravel wrapper for sending SMS through Smart Connect SMS API.

dev-main 2021-07-27 03:49 UTC

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');