Skip to content

LaoZhangRen/neteaseim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeteaseIm

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads License

Introduce

NeteaseIm 封装了网易云信 IM即时通讯API 源码来自https://github.com/ailuoy/neteaseim 此大佬未创建tag,composer不能安装。 遂自己提交一下

Requirement

Installation

composer require ailuoy/neteaseim

Usage

$appId = 'your neteaseim appid';
$secret = 'your neteaseim secret';
$neteaseIm = new \Ailuoy\NeteaseIm\Client($appId, $secret);
try {
    $response = $neteaseIm->user->getUinfos->go(['1']);
} catch (\Ailuoy\NeteaseIm\Exceptions\NeteaseImException $e) {
    var_dump($e->getMessage());
}
var_dump($response);

API List

网易云通信ID

用户名片

用户设置

用户关系依托

消息功能

群组功能(高级群)

聊天室

历史记录

在线状态

todo

  • 目前没有检查json count 的rule 所以先暂时去掉json的元素个数统计,看是否可以自定义validate规则

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages