{"id":15962798,"url":"https://github.com/frehaiku/wechatapi","last_synced_at":"2025-06-11T00:04:32.045Z","repository":{"id":201494394,"uuid":"81547664","full_name":"frehaiku/wechatAPI","owner":"frehaiku","description":"A common wechat package,including The Individual Subscription Account implements【个人订阅号微信开发接口轮子】","archived":false,"fork":false,"pushed_at":"2017-03-04T12:23:46.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T12:32:15.495Z","etag":null,"topics":["wechat-framework","wechat-sdk"],"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/frehaiku.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,"governance":null}},"created_at":"2017-02-10T09:11:00.000Z","updated_at":"2017-03-02T07:30:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"748c85b8-3883-46c6-a5d4-468c77cfb071","html_url":"https://github.com/frehaiku/wechatAPI","commit_stats":null,"previous_names":["frehaiku/wechatapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frehaiku%2FwechatAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frehaiku%2FwechatAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frehaiku%2FwechatAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frehaiku%2FwechatAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frehaiku","download_url":"https://codeload.github.com/frehaiku/wechatAPI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frehaiku%2FwechatAPI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259172950,"owners_count":22816555,"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":["wechat-framework","wechat-sdk"],"created_at":"2024-10-07T16:20:38.608Z","updated_at":"2025-06-11T00:04:32.019Z","avatar_url":"https://github.com/frehaiku.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wechatAPI\n\n\u003e A common wechat package,including basic The Individual Subscription Account implements\n\n## Install\n\n```bash\ngit clone https://github.com/frehaiku/wechatAPI.git\n\ncd wechatAPI\n\n# copy WechatSubscribedAccountSDK.class.php to your project\n```\n\n## Usage\n\n```php\ninclude_once \"WechatSubscribedAccountSDK.class.php\"\n$wechat = new WechatSubscribedAccountSDK();\n$wechat-\u003echeckSignature();\n\n$type = $wechat-\u003egetMsg()-\u003egetRecType();\nswitch($type) {\n    case WechatSubscribedAccountSDK::MSGTEXT:\n        $wechat-\u003etext('reply to you')-\u003ereply();\n        break;\n    case WechatSubscribedAccountSDK::MSGEVENT:\n        // ...\n        break;\n }\n```\n\n## Lisence\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrehaiku%2Fwechatapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrehaiku%2Fwechatapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrehaiku%2Fwechatapi/lists"}