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
  • Qids, The communication app for parents recommends LabsMobile

    App user authentication and sending invitations to download the app to user contacts.

    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
  • Get help or support

    This tutorial explains how to resolve any doubt or incident from a user of the LabsMobile platform.

    Ir al tutorial
loader