Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/w7corp/easywechat
📦 一个 PHP 微信 SDK
https://github.com/w7corp/easywechat
easywechat php sdk wechat
Last synced: 11 days ago
JSON representation
📦 一个 PHP 微信 SDK
- Host: GitHub
- URL: https://github.com/w7corp/easywechat
- Owner: w7corp
- License: mit
- Created: 2015-01-26T03:30:40.000Z (almost 10 years ago)
- Default Branch: 6.x
- Last Pushed: 2024-07-20T10:44:23.000Z (4 months ago)
- Last Synced: 2024-08-03T00:13:52.557Z (3 months ago)
- Topics: easywechat, php, sdk, wechat
- Language: PHP
- Homepage: https://easywechat.com
- Size: 6.28 MB
- Stars: 10,257
- Watchers: 508
- Forks: 2,408
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-wechat - overtrue/wechat
- awesome - w7corp/easywechat - 📦 一个 PHP 微信 SDK (PHP)
- StarryDivineSky - w7corp/easywechat
- awesome - w7corp/easywechat - 📦 一个 PHP 微信 SDK (PHP)
- awesome - w7corp/easywechat - 📦 一个 PHP 微信 SDK (PHP)
README
# [EasyWeChat](https://easywechat.com)
📦 一个 PHP 微信开发 SDK,开源 SaaS 平台提供商 [微擎](https://www.w7.cc/) 旗下开源产品。
[![Test Status](https://github.com/w7corp/easywechat/workflows/Test/badge.svg)](https://github.com/w7corp/easywechat/actions)
[![Lint Status](https://github.com/w7corp/easywechat/workflows/Lint/badge.svg)](https://github.com/w7corp/easywechat/actions)
[![Latest Stable Version](https://poser.pugx.org/w7corp/easywechat/v/stable.svg)](https://packagist.org/packages/w7corp/easywechat)
[![Latest Unstable Version](https://poser.pugx.org/w7corp/easywechat/v/unstable.svg)](https://packagist.org/packages/w7corp/easywechat)
[![Total Downloads](https://poser.pugx.org/w7corp/easywechat/downloads)](https://packagist.org/packages/w7corp/easywechat)
[![License](https://poser.pugx.org/w7corp/easywechat/license)](https://packagist.org/packages/w7corp/easywechat)## 环境需求
- PHP >= 8.0.2
- [Composer](https://getcomposer.org/) >= 2.0## 安装
```bash
composer require w7corp/easywechat
```## 使用示例
基本使用(以公众号服务端为例):
```php
'wx3cf0f39249eb0exxx',
'secret' => 'f1c242f4f28f735d4687abb469072xxx',
'aes_key' => 'abcdefghijklmnopqrstuvwxyz0123456789ABCDEFG',
'token' => 'easywechat',
];$app = new Application($config);
$server = $app->getServer();
$server->with(fn() => "您好!EasyWeChat!");
$response = $server->serve();
```## 文档和链接
[官网](https://easywechat.com) · [讨论](https://github.com/w7corp/easywechat/discussions) · [更新策略](https://github.com/w7corp/easywechat/security/policy)
## :heart: 支持我
如果你喜欢我的项目并想支持它,[点击这里 :heart:](https://github.com/sponsors/overtrue)
## 由 JetBrains 赞助
非常感谢 Jetbrains 为我提供的 IDE 开源许可,让我完成此项目和其他开源项目上的开发工作。
[![](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg)](https://www.jetbrains.com/?from=https://github.com/overtrue)
## 可爱的贡献者们
## License
MIT