Laravel implementation to easy sent sms via SMSAPI

2.0.3 2021-07-12 08:09 UTC

This package is auto-updated.

Last update: 2021-10-12 08:49:13 UTC


Latest Version on Packagist Total Downloads


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.


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:
        'token' => env('SMSAPI_TOKEN'),


You are now able to send sms with this code

use Vemcogroup\SmsApi\SmsApi;

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