{"id":17359046,"url":"https://github.com/zishang520/tim","last_synced_at":"2025-07-24T09:31:22.792Z","repository":{"id":37658113,"uuid":"234267915","full_name":"zishang520/tim","owner":"zishang520","description":"Tencent Cloud IM 腾讯 即时通信 SDK IM(TIM)","archived":false,"fork":false,"pushed_at":"2022-07-28T04:02:43.000Z","size":83,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T17:55:08.510Z","etag":null,"topics":["laravel-tim","qcloud-tim","tim"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zishang520.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-16T08:09:00.000Z","updated_at":"2021-11-05T06:59:27.000Z","dependencies_parsed_at":"2022-09-07T22:00:41.763Z","dependency_job_id":null,"html_url":"https://github.com/zishang520/tim","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/zishang520/tim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zishang520%2Ftim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zishang520%2Ftim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zishang520%2Ftim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zishang520%2Ftim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zishang520","download_url":"https://codeload.github.com/zishang520/tim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zishang520%2Ftim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266821711,"owners_count":23989820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel-tim","qcloud-tim","tim"],"created_at":"2024-10-15T19:07:53.902Z","updated_at":"2025-07-24T09:31:21.912Z","avatar_url":"https://github.com/zishang520.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 腾讯 即时通信 IM(TIM)\n\n### 安装包\n```bash\ncomposer require luoyy/tim\n```\n###### 在 app.php 中注册服务器提供者(Laravel5.5+支持自动发现)\n```php\nluoyy\\Tim\\Providers\\TimServiceProvider\n```\n###### ENV\n```env\n#Tim配置\n# App 在即时通信 IM 控制台获取的应用标识\nTIM_SDK_APPID=\n# 用户名，调用 REST API 时必须为 App 管理员帐号\nTIM_IDENTIFIER=\n# 生成 UserSig 的组件库版本 默认 v2 对称加密，如果要使用非对称加密请使用v1\nTIM_TLS=v2\n# v2 对称加密使用的谜语\nTIM_SECRET_KEY=\n# v1 非对称加密使用的公钥，只需要中间部分，且去除换行\nTIM_PUBLIC_KEY=\n# v1 非对称加密使用的私钥，只需要中间部分，且去除换行\nTIM_PRIVATE_KEY=\n```\n\n### Quick Sample Usage\n```php\n/**\n * TIM DEMO\n */\nuse luoyy\\Tim\\Facades\\Tim;\n\nvar_dump(Tim::portrait_get(['test'], [Tag::TAG_PROFILE_IM_NICK]));\nvar_dump(Tim::errCode());\nvar_dump(Tim::errMsg());\n```\n### 更新日志\n* `2020.12.23`：新增一些API接口，具体请查看commit\n* `2020.07.31`：更新版本到3.0，完善一些注释内容，添加全员推送 all_member_push 相关接口，2.0升级请注意querystate接口参数已修改，具体请查看commit\n* `2021.11.05`：更新版本到3.2，完善一些注释内容，添加查询帐号在线状态 query_online_status 接口(旧的接口弃用，请注意)，添加 最近联系人 相关API，具体请查看commit\n* `2022.05.20`：更新版本到3.4，完善一些注释内容，修复一些API接口参数问题，添加新的API，具体请查看commit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzishang520%2Ftim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzishang520%2Ftim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzishang520%2Ftim/lists"}