{"id":20144719,"url":"https://github.com/widuu/aliyuncall","last_synced_at":"2025-04-09T19:16:58.113Z","repository":{"id":57080554,"uuid":"120543455","full_name":"widuu/aliyunCall","owner":"widuu","description":"阿里云呼叫中心SDK","archived":false,"fork":false,"pushed_at":"2018-03-04T08:43:01.000Z","size":20,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T19:16:52.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/widuu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-07T00:55:04.000Z","updated_at":"2022-12-23T09:21:37.000Z","dependencies_parsed_at":"2022-08-24T14:57:34.780Z","dependency_job_id":null,"html_url":"https://github.com/widuu/aliyunCall","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2FaliyunCall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2FaliyunCall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2FaliyunCall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widuu%2FaliyunCall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/widuu","download_url":"https://codeload.github.com/widuu/aliyunCall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094988,"owners_count":21046770,"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","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":[],"created_at":"2024-11-13T22:11:49.995Z","updated_at":"2025-04-09T19:16:58.079Z","avatar_url":"https://github.com/widuu.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 阿里云呼叫中心SDK\n\n\n## 安装\n\n    composer require widuu/aliyuncall \n    \n## 使用示例\n\n    \n    \u003c?php\n        \n    require \"vendor/autoload.php\";\n    use widuu\\aliyunCall\\Auth;\n    \n    $auth = new Auth([\n    \t'client_id'\t\t=\u003e '应用ID',\n    \t'client_secret' =\u003e '应用秘钥',\n    \t'redirect_uri'  =\u003e '回调地址'\n    ]); \n    \n    // 如果没有登录,跳转至登录页面\n    $auth-\u003elogin();\n    \n    // 跳转页面使用，获取access_token\n    $access = $auth-\u003egetToken();\n    \n    // 官方获取配置信息使用方法\n    \n    use widuu\\aliyunCall\\Call;\n    \n    $call = new Call('呼叫中心实例ID','上一步存储的ACCESS_TOKEN');\n\t// 前端请求的参数json_decode解析后，传入参数\n    $result = $call -\u003e getConfig($name,$objectType,$objectId);\n    \n    // 方法全部参考阿里云呼叫中心文档 https://help.aliyun.com/document_detail/63028.html?spm=a2c4g.11186623.6.566.hVNcED 默认全部开头字母小写\n    \n### DEMO 说明\n\n\u003e 文件夹 `demo`，这个是官方demo的简化版本，所以请跟官方索要测试账号和密码\n\n+ 1. 请求地址 `https://127.0.0.1:8443` 回调地址是 `https://127.0.0.1:8443/aliyun/auth/callback` 详细配置`base.php`\n+ 2. 然后就可以布置测试了，记住回调地址目前是官方给的改了会出错。\n+ 3. 如果您是用自己的测试，请在 `base.php` 填写自己的信息，替换自己的回调地址，然后将 `aliyun\\auth\\callback` 里边的 `index.php` 放到你的回调地址上\n\n### 技术支持\n\n邮箱 : admin@widuu.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiduu%2Faliyuncall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiduu%2Faliyuncall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiduu%2Faliyuncall/lists"}