{"id":22153518,"url":"https://github.com/callmenp/wxpayapi_php","last_synced_at":"2025-07-26T05:32:57.868Z","repository":{"id":35870628,"uuid":"40155777","full_name":"CallMeNP/wxpayapi_php","owner":"CallMeNP","description":"【微信支付】API对应的SDK和调用示例。微信官方代码。仅为自动加载和配置文件做修改。","archived":false,"fork":false,"pushed_at":"2015-08-05T12:27:25.000Z","size":336,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-23T19:20:59.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/CallMeNP.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":"2015-08-04T01:08:08.000Z","updated_at":"2021-12-10T10:58:38.000Z","dependencies_parsed_at":"2022-09-12T17:11:40.761Z","dependency_job_id":null,"html_url":"https://github.com/CallMeNP/wxpayapi_php","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CallMeNP%2Fwxpayapi_php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CallMeNP%2Fwxpayapi_php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CallMeNP%2Fwxpayapi_php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CallMeNP%2Fwxpayapi_php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CallMeNP","download_url":"https://codeload.github.com/CallMeNP/wxpayapi_php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227653038,"owners_count":17799310,"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-12-02T01:20:49.918Z","updated_at":"2024-12-02T01:20:50.591Z","avatar_url":"https://github.com/CallMeNP.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wxpayapi_php\n【微信支付】API对应的SDK和调用示例。微信官方代码。仅为自动加载和配置文件做修改。\n\n# 使用\n## require\ncomposer require即可。参见 https://packagist.org/packages/callmenp/wxpayapi_php\n\n## 配置\n然后在laravel框架的config/services.php 中添加相关配置：\n```php\n\t'wxpay' =\u003e [\n\t\t'appid'=\u003e'wx426b3015555a46be',\n\t\t'mchid'=\u003e'1225312702',\n\t\t'key'=\u003e'e10adc3949ba59abbe56e057f20f883e',\n\t\t'appsecret'=\u003e'01c6d59a3f9024db6336662ac95c8e74',\n\t\t'sslcert_path'=\u003e'../cert/apiclient_cert.pem',\n\t\t'sslkey_path'=\u003e'../cert/apiclient_key.pem',\n\t\t'curl_proxy_host'=\u003e'0.0.0.0',\n\t\t'curl_proxy_port'=\u003e0,\n\t\t'report_levenl'=\u003e1,\n\t],\n```\n\n## 使用\n相关类都声明在根命名空间下。\n\n```php\n$wxpay=new \\WxPayApi();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallmenp%2Fwxpayapi_php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcallmenp%2Fwxpayapi_php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallmenp%2Fwxpayapi_php/lists"}