{"id":13435908,"url":"https://github.com/w7corp/easywechat","last_synced_at":"2025-05-12T20:45:23.837Z","repository":{"id":26393717,"uuid":"29843361","full_name":"w7corp/easywechat","owner":"w7corp","description":"📦 一个 PHP 微信 SDK","archived":false,"fork":false,"pushed_at":"2025-04-28T12:03:39.000Z","size":6791,"stargazers_count":10320,"open_issues_count":0,"forks_count":2413,"subscribers_count":501,"default_branch":"6.x","last_synced_at":"2025-05-05T09:17:01.055Z","etag":null,"topics":["easywechat","php","sdk","wechat"],"latest_commit_sha":null,"homepage":"https://easywechat.com","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/w7corp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["overtrue"]}},"created_at":"2015-01-26T03:30:40.000Z","updated_at":"2025-04-28T12:03:49.000Z","dependencies_parsed_at":"2023-12-28T15:32:14.543Z","dependency_job_id":"dbdc39a8-bb97-4ffe-81e6-1fe736041b5d","html_url":"https://github.com/w7corp/easywechat","commit_stats":{"total_commits":1993,"total_committers":195,"mean_commits":10.22051282051282,"dds":0.4310085298544907,"last_synced_commit":"540aa1ce8de54202b6fe5932ee66a372b321f449"},"previous_names":["overtrue/wechat"],"tags_count":392,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w7corp%2Feasywechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w7corp%2Feasywechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w7corp%2Feasywechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w7corp%2Feasywechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w7corp","download_url":"https://codeload.github.com/w7corp/easywechat/tar.gz/refs/heads/6.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252528669,"owners_count":21762951,"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":["easywechat","php","sdk","wechat"],"created_at":"2024-07-31T03:00:40.599Z","updated_at":"2025-05-05T15:57:24.667Z","avatar_url":"https://github.com/w7corp.png","language":"PHP","funding_links":["https://github.com/sponsors/overtrue"],"categories":["PHP","网络服务","武器库"],"sub_categories":["网络服务_其他","后端"],"readme":"# [EasyWeChat](https://easywechat.com)\n\n📦 一个 PHP 微信开发 SDK，开源 SaaS 平台提供商 [微擎](https://www.w7.cc/) 旗下开源产品。\n\n[![Test Status](https://github.com/w7corp/easywechat/workflows/Test/badge.svg)](https://github.com/w7corp/easywechat/actions)\n[![Lint Status](https://github.com/w7corp/easywechat/workflows/Lint/badge.svg)](https://github.com/w7corp/easywechat/actions)\n[![Latest Stable Version](https://poser.pugx.org/w7corp/easywechat/v/stable.svg)](https://packagist.org/packages/w7corp/easywechat)\n[![Latest Unstable Version](https://poser.pugx.org/w7corp/easywechat/v/unstable.svg)](https://packagist.org/packages/w7corp/easywechat)\n[![Total Downloads](https://poser.pugx.org/w7corp/easywechat/downloads)](https://packagist.org/packages/w7corp/easywechat)\n[![License](https://poser.pugx.org/w7corp/easywechat/license)](https://packagist.org/packages/w7corp/easywechat)\n\n## 环境需求\n\n- PHP \u003e= 8.0.2\n- [Composer](https://getcomposer.org/) \u003e= 2.0\n\n## 安装\n\n```bash\ncomposer require w7corp/easywechat\n```\n\n## 使用示例\n\n基本使用（以公众号服务端为例）:\n\n```php\n\u003c?php\n\nuse EasyWeChat\\OfficialAccount\\Application;\n\n$config = [\n    'app_id' =\u003e 'wx3cf0f39249eb0exxx',\n    'secret' =\u003e 'f1c242f4f28f735d4687abb469072xxx',\n    'aes_key' =\u003e 'abcdefghijklmnopqrstuvwxyz0123456789ABCDEFG',\n    'token' =\u003e 'easywechat',\n];\n\n$app = new Application($config);\n\n$server = $app-\u003egetServer();\n\n$server-\u003ewith(fn() =\u003e \"您好！EasyWeChat！\");\n\n$response = $server-\u003eserve();\n```\n\n## 文档和链接\n\n[官网](https://easywechat.com) · [讨论](https://github.com/w7corp/easywechat/discussions) · [更新策略](https://github.com/w7corp/easywechat/security/policy)\n\n## :heart: 支持我\n\n如果你喜欢我的项目并想支持它，[点击这里 :heart:](https://github.com/sponsors/overtrue)\n\n## 由 JetBrains 赞助\n\n非常感谢 Jetbrains 为我提供的 IDE 开源许可，让我完成此项目和其他开源项目上的开发工作。\n\n[![](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg)](https://www.jetbrains.com/?from=https://github.com/overtrue)\n\n## 可爱的贡献者们\n\n\u003ca href=\"https://github.com/w7corp/easywechat/graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/wechat/contributors.svg?width=890\" /\u003e\u003c/a\u003e\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw7corp%2Feasywechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw7corp%2Feasywechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw7corp%2Feasywechat/lists"}