{"id":17246221,"url":"https://github.com/hanson/wechat-lumen","last_synced_at":"2025-04-14T04:12:01.208Z","repository":{"id":62514488,"uuid":"64005018","full_name":"Hanson/wechat-lumen","owner":"Hanson","description":"A wechat Application build on lumen","archived":false,"fork":false,"pushed_at":"2020-02-13T10:41:12.000Z","size":23,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T04:11:49.670Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hanson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-23T07:36:26.000Z","updated_at":"2020-08-04T06:55:09.000Z","dependencies_parsed_at":"2022-11-02T13:15:54.085Z","dependency_job_id":null,"html_url":"https://github.com/Hanson/wechat-lumen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hanson%2Fwechat-lumen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hanson%2Fwechat-lumen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hanson%2Fwechat-lumen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hanson%2Fwechat-lumen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hanson","download_url":"https://codeload.github.com/Hanson/wechat-lumen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819403,"owners_count":21166477,"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-10-15T06:32:48.606Z","updated_at":"2025-04-14T04:12:01.188Z","avatar_url":"https://github.com/Hanson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wechat\nA wechat Application build on lumen\n\n`此项目已废弃，请移步：https://github.com/Hanson/laravel-admin-wechat`\n\n此项目基于[lumen](https://lumen.laravel.com/)以及[easywechat](https://easywechat.org)开发的微信项目\n\n*注意：如使用laravel，可使用 [wechat-handler](https://github.com/HanSon/wechat-handler)\n\n## Installation\n\n```\ncomposer create-project hanson/wechat wechat dev-master\n```\n\n## Configure\n配置env，填写好需要的wechat信息即可\n```\ncp .env.example .env\n```\n\n## Migration\n暂时提供两个表，wechat_user以及message，执行migrate即可生成数据表\n```\nphp artisan migrate\n```\n\n## Handler\n所有消息事件都位于`app/Handlers`中，事件Handler位于`app/Handlers/EventHandlers`中\n\n\n## Service\n所有的服务事件，直接在继承BaseController 的 Controller中 调用 $this-\u003eservice即可\n\n    #example:\n    class MyController extends BaseController{\n    \n        public function index(){\n            $user = $this-\u003euser;\n            echo $user-\u003eget('openid')-\u003enickname;\n        }\n    }\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanson%2Fwechat-lumen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanson%2Fwechat-lumen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanson%2Fwechat-lumen/lists"}