Laravel 5 对 WeiXin API 的包装。

1.0.6 2015-07-22 01:20 UTC

This package is not auto-updated.

Last update: 2024-09-28 18:24:15 UTC


README

================= Laravel 5 对 WeiXin API 的包装。

安装

使用 Composer 在项目的根目录中安装此包。

composer require jiangchengbin/weixin:~1.0

将服务提供者添加到 config/app.php 文件中的 providers 数组。

'Jiangchengbin\weixin\WeiXinServiceProvider'

如果您想使用 facade,可以在 config/app.php 中将引用添加到您的别名数组。

'Weixin'=> 'Jiangchengbin\weixin\Facades\WeiXin',

配置

Laravel Debug 需要连接配置。要开始,您需要发布所有供应商资产

php artisan vendor:publish