thunderpush/php-thunderclient 问题修复 & 功能扩展

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

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

thunderpush/php-thunderclient

Composer 安装命令:

composer require thunderpush/php-thunderclient

包简介

A PHP library for sending messages to Thunderpush server.

README 文档

README

https://travis-ci.org/thunderpush/php-thunderclient.png?branch=master

A PHP library for sending messages to the Thunderpush server.

Example

<?php

require_once('Thunder.php');

$thunder = new Thunder('key', 'secretkey', 'localhost', '8080');

// Get user count
print $thunder->get_user_count();

// Get users in channel "test"
print $thunder->get_users_in_channel("test");

// Send message to user "test"
print $thunder->send_message_to_user("test", array("msg" => "hello!"));

// Send message to a channel
print $thunder->send_message_to_channel("test", array("msg" => "hello!"));

// Check if user "test" is online
print $thunder->is_user_online("test");

// Disconnect user "test"
print $thunder->disconnect_user("test");

统计信息

  • 总下载量: 9.62k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-03-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固