File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 44
55> 1.x 的配置文件里面的项目为驼峰,2.x 系列已经改为下划线,请参考: [ src/config.php] ( https://github.com/overtrue/laravel-wechat/blob/master/src/config.php )
66
7- 微信 SDK for Laravel 5, 基于 [ overtrue/wechat] ( https://github.com/overtrue/wechat )
7+ 微信 SDK for Laravel 5 / Lumen , 基于 [ overtrue/wechat] ( https://github.com/overtrue/wechat )
88
99本项目只适用于,只有一个固定的账号,如果是开发微信公众号管理系统就不要使用了,直接用 [ overtrue/wechat] ( https://github.com/overtrue/wechat ) 更方便些。
1010
1616 ``` shell
1717 composer require " overtrue/laravel-wechat:2.1.*"
1818 ```
19+
1920## 配置
2021
2122### Laravel 应用
3839 ``` php
3940 'Wechat' => 'Overtrue\LaravelWechat\Facade',
4041 ```
42+
4143### Lumen 应用
4244
43451 . 在 ` bootstrap/app.php ` 中 82 行左右:
5052
5153``` php
5254WECHAT_USE_ALIAS=false
53- WECHAT_APPID=你的微信APPid
54- WECHAT_SECRET=你的secret
55- WECHAT_TOKEN=你的token
56- WECHAT_ENCODING_KEY=AESkey
55+ WECHAT_APPID=xxx
56+ WECHAT_SECRET=xxx
57+ WECHAT_TOKEN=xxx
58+ WECHAT_ENCODING_KEY=xxx
5759```
58603 . 如果你习惯使用 ` config/wechat.php ` 来配置的话,请记得在 ` bootstrap/app.php ` 中19行以后添加:
5961
You can’t perform that action at this time.
0 commit comments