{"id":13462551,"url":"https://github.com/xu42/pay","last_synced_at":"2025-06-13T10:10:41.325Z","repository":{"id":95490159,"uuid":"112007047","full_name":"xu42/pay","owner":"xu42","description":"个人网站即时到账收款解决方案 / Personal website instant payment solution","archived":false,"fork":false,"pushed_at":"2025-06-07T04:57:13.000Z","size":20,"stargazers_count":548,"open_issues_count":0,"forks_count":109,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-06-07T05:27:57.287Z","etag":null,"topics":["alipay","cashier","pay","payment","personal","realtime","wechat","youzan"],"latest_commit_sha":null,"homepage":"https://pay.xu42.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/xu42.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-25T13:50:48.000Z","updated_at":"2025-06-07T04:57:17.000Z","dependencies_parsed_at":"2023-03-21T02:48:54.814Z","dependency_job_id":null,"html_url":"https://github.com/xu42/pay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xu42/pay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xu42%2Fpay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xu42%2Fpay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xu42%2Fpay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xu42%2Fpay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xu42","download_url":"https://codeload.github.com/xu42/pay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xu42%2Fpay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259624771,"owners_count":22886334,"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":["alipay","cashier","pay","payment","personal","realtime","wechat","youzan"],"created_at":"2024-07-31T12:00:51.647Z","updated_at":"2025-06-13T10:10:41.315Z","avatar_url":"https://github.com/xu42.png","language":"PHP","funding_links":[],"categories":["Uncategorized","PHP"],"sub_categories":["Uncategorized"],"readme":"# pay\n个人网站即时到账收款解决方案  \nPersonal website instant payment solution   \n \n## Links\n- [Tutorial](https://blog.xu42.com/2017/11/26/person-website-instant-payment-solution/)\n- [Demo](https://pay.xu42.com)\n\n## SDK\n- [youzan-sdk-go](https://github.com/xu42/youzan-sdk-go)\n- [youzan-sdk-php](https://github.com/xu42/youzan-sdk-php)\n\n## Deploy\n### 只提供一个思路, 不推荐部署在生产环境\n\n1. 按照博客文章里的提示, 打开[控制台](https://console.youzanyun.com/application/setting), 记下client_id/client_secret/授权店铺id, 补充到[YouzanYunService](src/Service/YouzanYunService.php)文件里\n2. 如果没有域名证书或不打算使用, 需要修改[index.php](public/index.html)中的`wss` 为 `ws`, 并删除[start.php](src/start.php)中的`ssl`相关的代码\n3. 全局搜索替换`pay.xu42.cn`为你的域名\n4. 涉及到的几个端口号可以自行修改(为什么是这几个端口号? 哈哈 好问题 `119`是我女朋友生日~)\n5. 飞起来 `php /path/src/start.php`\n \n## Contact\n - [微信公众号留言入群](https://open.weixin.qq.com/qr/code?username=gh_4a7a236c1af2)\n - [Telegram Group](https://t.me/OurPay)\n \n[![Powered by DartNode](https://dartnode.com/branding/DN-Open-Source-sm.png)](https://dartnode.com \"Powered by DartNode - Free VPS for Open Source\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxu42%2Fpay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxu42%2Fpay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxu42%2Fpay/lists"}