{"id":41038729,"url":"https://github.com/stoneworld/wechat","last_synced_at":"2026-01-22T10:40:09.958Z","repository":{"id":57060151,"uuid":"53291584","full_name":"stoneworld/wechat","owner":"stoneworld","description":"Deprecated 微信公众平台企业号 SDK","archived":false,"fork":false,"pushed_at":"2017-08-13T08:20:07.000Z","size":72,"stargazers_count":79,"open_issues_count":2,"forks_count":22,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-05T19:41:51.894Z","etag":null,"topics":["laravel","php","sdk","wechat"],"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/stoneworld.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":"2016-03-07T03:03:30.000Z","updated_at":"2022-08-29T09:12:38.000Z","dependencies_parsed_at":"2022-08-24T07:30:28.554Z","dependency_job_id":null,"html_url":"https://github.com/stoneworld/wechat","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/stoneworld/wechat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoneworld%2Fwechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoneworld%2Fwechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoneworld%2Fwechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoneworld%2Fwechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stoneworld","download_url":"https://codeload.github.com/stoneworld/wechat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoneworld%2Fwechat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28661875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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","php","sdk","wechat"],"created_at":"2026-01-22T10:40:08.881Z","updated_at":"2026-01-22T10:40:09.948Z","avatar_url":"https://github.com/stoneworld.png","language":"PHP","readme":"# wechat\n\n### 安装\n\n环境要求：PHP \u003e= 5.3.0\n\n使用 `composer`\n\n`composer require \"stoneworld/wechat:~2.0\" -vvv`\n\n手动安装\n下载 本安装包\n\n然后引入根目录的autoload.php即可：\n\n```\n\u003c?php\n\nrequire \"wechat/autoload.php\"; // 路径请修改为你具体的实际路径\n\n...\n确认你没装 laravel-debugbar!!!!\n\n```\n\n### 使用\n\n基本使用（以服务端为例）:\n\n```\n\u003c?php\n\nuse Stoneworld\\Wechat\\Server;\n\n$options = array(\n            'token'=\u003e'stoneworld1992',   //填写应用接口的Token\n            'encodingaeskey'=\u003e'o1wze3492xoUVIc9ccTLJczO3BQ5pLfiHcKwtDEdqM9',//填写加密用的EncodingAESKey\n            'appid'=\u003e'wx8ac123b21f53dera7',  //填写高级调用功能的appid\n            'appsecret'=\u003e'4ZDHIETJ6e0oENlEkRhYwdKcPcRjCkgQkuHtQTJ12ZhWHESowrJqS9', //填写高级调用功能的密钥\n            'agentid'=\u003e'5', //应用的id\n        );\n\n$server = new Server($options);\n\n$server-\u003eon('message', function($message){\n    return \"您好!\";\n});\n\n// 您可以直接echo 或者返回给框架\necho $server-\u003eserver();\n```\n\n更多请参考文档[wiki](https://github.com/stoneworld/wechat/wiki/%E5%86%99%E5%9C%A8%E5%89%8D%E9%9D%A2)。\n\n### 致谢\n\n特别感谢超哥 [安正超 @overtrue](https://github.com/overtrue) 的 EasyWeChat 微信 SDK 为企业微信 SDK 开发带来的指引。\n\n### License\n\nMIT\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoneworld%2Fwechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstoneworld%2Fwechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoneworld%2Fwechat/lists"}