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
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
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| | MIT | |
| 2.0.3 | ^7.3| | ^7.0| | MIT | |
| 2.0.2 | ^7.3| | ^7.0| | MIT | |
| 2.0.1 | ^7.3 | ^7.0| | MIT | |
| 2.0.0 | ^7.3 | ^7.0| | MIT | |
| 1.0.4 | ^7.2 | ^6.0| | MIT | |
| 1.0.3 | ^7.2 | ^6.0| | MIT | |
| 1.0.2 | ^7.2 | ^6.0| | MIT | |
| 1.0.1 | ^7.2 | ^6.0| | MIT | |
| 1.0.0 | ^7.2 | ^6.0| | MIT |