vemcogroup/laravel-smsapi

Laravel implementation to easy sent sms via SMSAPI
5,327 3
Install
composer require vemcogroup/laravel-smsapi
Latest Version:3.0
PHP:^8.0
Laravel:7 · 8 · 9
Older releases:6
License:MIT
Last Updated:Jul 26, 2022
Links: GitHub  ·  Packagist
Maintainer: vemcogroup

Laravel SmsApi

Latest Version on Packagist Total Downloads

Description

This package allows you to quickly send SMS in Laravel via the SMSAPI service.

This is first version and only support to send SMS.

Further versions will support more of SMSAPI features.

Remember to register an account at SMSAPI before using this package.

Installation

You can install the package via composer:

composer require vemcogroup/laravel-smsapi

The package will automatically register its service provider.

To publish the config file to config/translation.php run:

php artisan vendor:publish --provider="Vemcogroup\SmsApi\SmsApiServiceProvider"

This is the default contents of the configuration:

return [

    /*
        |--------------------------------------------------------------------------
        | Token
        |--------------------------------------------------------------------------
        |
        | Here you define your API TOKEN for smsapi
        |
        | More info: https://www.smsapi.com/docs/#authentication
        |
        */
    
        'token' => env('SMSAPI_TOKEN'),
];

Usage

You are now able to send sms with this code

use Vemcogroup\SmsApi\SmsApi;

SmsApi::send($to, $from, $message);

Related Packages

ohanspace/sms

this is a sms package made for laravel

11 0
sms
midnite81/laravel-base

Base Functionality for Laravel

35,539 3
lbhurtado/sms

Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky

9,156 0
huangdijia/laravel-sms

sms for laravel

7,402 2
alhaji-aki/laravel-sms

A package that allows developers integrate sms providers and provide a common ap...

5,952 2

Version History

Version Released PHP Laravel License
3.0 ^8.0 ^7.0|^8.0|^9.0 MIT
2.0.3 ^7.3|^8.0 ^7.0|^8.0 MIT
2.0.2 ^7.3|^8.0 ^7.0|^8.0 MIT
2.0.1 ^7.3 ^7.0|^8.0 MIT
2.0.0 ^7.3 ^7.0|^8.0 MIT