/easy-im-docs

easyIM使用文档项目

Primary LanguageHTML

home heroImage heroImageStyle isShowTitleInHome actionText actionLink features
true
/icon_vuepress_reco.png
maxWidth width display margin borderRadius
200px
100%
block
5rem auto 2rem
1rem
true
About
/views/other/about
title details
生命
就像一盒巧克力,结果往往出人意料
title details
希望
是一个好东西,也许是最好的,好东西是不会消亡的
title details
那时候
我只会想自己想要什么,从不想自己拥有什么

Requirement

  1. PHP >= 7.2
  2. Composer
  3. Openssl拓展

Installation

$ composer require longing/easy-im:~1.0 -vvv

Usage

基本使用(以服务端为例):

use EasyIM\Factory;

$options = [
    'sdk_app_id'    => '1400306676',                                                        // sdkAppId
    'secret'        => '3e373d1ef02ef192ee26c94760681cdf492b4b7f053fc16504d30a77a028e76d',  // secret
    'identifier'    => 'admin',                                                             // 管理员账号
    'expire'        => 86400,                                                               // 签名过期时间
    // ...
];

$app = Factory::TencentIM($options);

更多

Status

欢迎查阅 项目进度板

Contributors

这个项目的存在多亏了所有的贡献者。

This project exists thanks to all the people who contribute.

Sponsor 赞助

🙏 感谢所有金主爸爸,如有意向请通过 Open Collective 赞助我们!

Backers 支持者

感谢我们所有的支持者!

Thank you to all our backers! 🙏 [Become a backer]

License

MIT

鸣谢