{"id":612,"date":"2023-02-26T10:53:21","date_gmt":"2023-02-26T02:53:21","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=612"},"modified":"2023-04-29T20:20:00","modified_gmt":"2023-04-29T12:20:00","slug":"laravel-quickly-integrate-easywechat","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/26\/laravel-quickly-integrate-easywechat\/","title":{"rendered":"Laravel\u5feb\u901f\u96c6\u6210EasyWeChat"},"content":{"rendered":"<h2>laravel-wechat\u7b80\u4ecb<\/h2>\n<p>EasyWeChat \u662f\u57fa\u4e8e MIT \u534f\u8bae\u5f00\u53d1\u7684\u9ad8\u8d28\u91cf\u5f00\u6e90\u5fae\u4fe1\u7b2c\u4e09\u65b9PHP SDK\u3002laravel-wechat\u662f\u5fae\u4fe1SDK for Laravel\uff0c\u57fa\u4e8eovertrue\/wechat\u3002<\/p>\n<p>laravel-wechat\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/overtrue\/laravel-wechat\">https:\/\/github.com\/overtrue\/laravel-wechat<\/a><\/p>\n<p><!-- more --><\/p>\n<h2>Laravel\u5feb\u901f\u96c6\u6210EasyWeChat<\/h2>\n<pre><code># composer self-update\n# composer --version\n# composer global update\n# composer config -g repo.packagist composer https:\/\/packagist.laravel-china.org\n# composer\u00a0config\u00a0-g\u00a0repo.packagist\u00a0composer\u00a0https:\/\/packagist.phpcomposer.com\n# laravel -V\n# laravel new Test\n# cd Test\/\n# php artisan -V\n# composer require &quot;overtrue\/laravel-wechat:~4.0&quot;\n# php artisan vendor:publish --provider=&quot;Overtrue\\LaravelWeChat\\ServiceProvider&quot;\n# vim config\/wechat.php<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>laravel-wechat\u7b80\u4ecb EasyWeChat \u662f\u57fa\u4e8e MIT \u534f\u8bae\u5f00\u53d1\u7684\u9ad8\u8d28\u91cf\u5f00\u6e90\u5fae\u4fe1\u7b2c\u4e09\u65b9PHP  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[172],"class_list":["post-612","post","type-post","status-publish","format-standard","hentry","category-laravel","tag-easywechat"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=612"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/612\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}