ES

SMS Plugin for integration with Laravel Framework

Send SMS messages using the LabsMobile platform integrated with Laravel. Install the Simple-SMS plugin and you will be able to send SMS messages in a matter of seconds.


Functionalities

  • Sending messages.
  • Sending SMS campaigns.
  • Sending personalized messages.

Requirements


Authentication

In the Laravel integration the authentication is done with two parameters:

  • The username of the account to be specified in the username parameter.
  • The tokenapi to be assigned in the password parameter. This tokenapi can be generated from the API Settings section of your account.

Recommendation You can generate API tokens from the API Settings of the account. We recommend changing the token frequently and using different tokens for each use, connection or integration.


Installation

  1. Install the simple-sms plugin in your Laravel installation.
  1. Configure the plugin with the parameters of your LabsMobile account.
Parameters
<?php return [
        'driver' => 'labsmobile',
        'from' => 'Sender',
        'labsmobile' => 
            'username' => 'myUsername',
            'password' => 'myToken',
            'test' => '1 for simulate mode; 0 for real sendings'
        ]
    ];
           
  1. You can now use all the functionalities of the plugin.