Module for SMS integration with Framework Yii v1.1

Send SMS messages through the LabsMobile platform and the Yii Framework. Install the LabsMobile module for Yii and in a few seconds you will be able to send SMS messages.

Requirements

  • - Yii 1.1. More info at Yii Framework.
  • - A user account with LabsMobile. Click on the link to create an account: Sign up.

Installation

1. Copy the LabsMobileSMS folder into /protected/extensions

2. Add the following lines into your configuration file (ex. /config/main.php)

    <?php ...
'components' => array(
        ...
        'sms' => array(
            'class'=>'ext.LabsMobileSms.LabsMobileSms',
            'LMaccount_username'=>'{YOUR USERNAME}',
            'LMaccount_password'=>'{YOUR PASSWORD}',
            'LMaccount_clientapi'=>'{YOUR API CLIENT}',
        ),

3. Now you can send messages with the following code:

    <?php ...
    Yii::app()->sms->send(array('to'=>'34609033161', 'message'=>'Hello world!'));

Or check the number of credits available in your account LabsMobile:

    <?php ...
    Yii::app()->sms->get_balance();


Download extension for Yii v1.1
  • contact form support

    Sign up!

    Create a user account and send your SMS messages in seconds. You will have all the functionalities and benefits in the same platform.

    Send from API and manage your account with our online application WebSMS.

    Create new account
  • TripMedic, Medical appointments abroad recommends LabsMobile

    Sending confirmations, evaluations and reminders for medical appointments via SMS.

    Watch more reviews
  • dashboard aplicación online

    Maximum reliability at the best price

    At LabsMobile we only offer direct routes of maximum reliability and quality. Enjoy our platform and all our services for the price of an SMS.

    Pay ONLY for sent messages.

    Check our rates
  • dashboard aplicación online

    Need more info? Contact us!

    Our technical department has professionals with years of experience and we have made multiple integrations.

    We guide and help you through the process.

    Request technical support
  • Buy credits or set up automatic top-ups

    This tutorial explains how to reload credits step by step in your WebSMS account and also how to configure automatic reloads so that your account never runs out of credits.

    Ir al tutorial