stichoza/skype-status-php

This package is abandoned and no longer maintained. The author suggests using the stichoza/skype-status-php package instead.

Get Skype user's online status

v2.1.0 2015-05-26 22:45 UTC

This package is auto-updated.

Last update: 2022-02-01 12:44:25 UTC


README

Latest Stable Version Total Downloads Downloads Month License Code Climate

PHP class to get Skype user's online status.

THIS PACKAGE DOES NOT WORK ANYMORE. Skype deprecated its XML response of status codes. I hope someday I will (or you will) find a way to make this package still work. Thanks! 🙂

Installation

Install this package through Composer. Edit your project's composer.json file to require stichoza/skype-status-php.

"require": {
    "stichoza/skype-status-php": "~2.1"
}

Or run a command in your command line:

composer require stichoza/skype-status-php

Usage

Instantiate SkypeStatus object

use Stichoza\Skype\SkypeStatus;

$mySkype = new SkypeStatus("echo123");

Get online status code and/or string

echo "User is " . $mySkype->getStatusString();    // output: User is online
echo "Status code: " . $mySkype->getStatusCode(); // output: Status code: 2

Status Codes

  • 0 - Unknown
  • 1 - Offline
  • 2 - Online
  • 3 - Away
  • 4 - Unavailable
  • 5 - Do Not Disturb
  • 6 - Invisible
  • 7 - SkypeME