You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
ifornew 21b1d43d2f bugfix 8 months ago
.idea BUGFIX 8 months ago
docs 升级 6.x 8 months ago
src bugfix 8 months ago
.gitignore 升级 6.x 8 months ago
CONTRIBUTING.md init from 4.5 2 years ago
LICENSE init from 4.5 2 years ago
README.md 升级 6.x 8 months ago
SECURITY.md 升级 6.x 8 months ago
composer.json 升级 6.x 8 months ago
composer.lock composer.json 8 months ago

README.md

EasyWeChat

📦 一个 PHP 微信开发 SDK翻译至w7corp/easywechat:^6.7,并支持 PHP 7.x

Test Status Lint Status Latest Stable Version Latest Unstable Version Total Downloads License

环境需求

安装

composer require ifornew/wechat

使用示例

基本使用(以公众号服务端为例):

<?php

use Ifornew\WeChat\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();

文档和链接

官网 · 讨论 · 更新策略

❤️ 支持我

Sponsor me

如果你喜欢我的项目并想支持它,点击这里 ❤️

由 JetBrains 赞助

非常感谢 Jetbrains 为我提供的 IDE 开源许可,让我完成此项目和其他开源项目上的开发工作。

License

MIT