Yii 1.1: xmpphp-gtalk

XMPPHP to connect to gtalk ,you can send message to your frendlist in your gtalk,also you can monitor server.

This project mainly used to monitor my shell script in my linux computer.you can write a daemon thread to send message to your gtalk,so you can konw the status for the script.


Yii 1.1.10+


[STEP1] Download the extensions and extract the file to the extensions path.

[STEP2] FIND THE config/main.php and add the code

    'user'=>'your gtalk username',
    'password'=>'your gtalk password',

[STEP3] in your any action you can use as :

$talk = Yii::app()->gtalk;
try {
    $talk->message('your friends in your gtalk ', 'message you want to send');
} catch(XMPPHP_Exception $e) {

xmpphp project in google xmpphp-gtalk for yii in github

my blog

Be the first person to leave a comment

Please to leave your comment.

Create extension