PHPackages                             module-wechat/oauth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. module-wechat/oauth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

module-wechat/oauth
===================

a simple wechat oauth for php

1.0.5(3mo ago)09MITPHPPHP &gt;=8.0

Since Jan 20Pushed 3mo agoCompare

[ Source](https://github.com/kyle-xiaoku/module-wechat-oauth)[ Packagist](https://packagist.org/packages/module-wechat/oauth)[ RSS](/packages/module-wechat-oauth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

概览
--

[](#概览)

一个简单的微信授权工具

环境要求
----

[](#环境要求)

支持的环境如下：

- PHP &gt;= 8.0

安装
--

[](#安装)

推荐使用 PHP 包管理工具 [Composer](https://getcomposer.org/) 安装 SDK：

```
composer require module-wechat/oauth
```

快速使用
----

[](#快速使用)

以下代码示例向您展示了助手的调用方法：

```
