lucups/easywechat
最新稳定版本:6.15.0
Composer 安装命令:
composer require lucups/easywechat
包简介
微信SDK
README 文档
README
环境需求
- PHP >= 8.0.2
- Composer >= 2.0
安装
composer require lucups/easywechat:6.15.0
使用示例
基本使用(以公众号服务端为例):
<?php use EasyWeChat\OfficialAccount\Application; $config = [ 'app_id' => 'wx3cf0f39249eb0exxx', 'secret' => 'f1c242f4f28f735d4687abb469072xxx', 'aes_key' => 'abcdefghijklmnopqrstuvwxyz0123456789ABCDEFG', 'token' => 'easywechat', ]; $app = new Application($config); $app->getServer()->with(fn() => "您好!EasyWeChat!"); $response = $server->serve();
文档和链接
License
MIT
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-11