stichoza/skype-status-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

stichoza/skype-status-php

最新稳定版本:v2.1.0

Composer 安装命令:

composer require stichoza/skype-status-php

包简介

Get Skype user's online status

README 文档

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

统计信息

  • 总下载量: 129
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 19
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 19
  • Watchers: 7
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-07