PHPackages                             ouranoshong/wxdecrypt - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ouranoshong/wxdecrypt

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ouranoshong/wxdecrypt
=====================

wx descrypt

v0.2.0(7y ago)061MITPHPPHP &gt;=7.0

Since Apr 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ouranoshong/wxdecrypt)[ Packagist](https://packagist.org/packages/ouranoshong/wxdecrypt)[ RSS](/packages/ouranoshong-wxdecrypt/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

wxdecrypt
=========

[](#wxdecrypt)

[![Build Status](https://camo.githubusercontent.com/b7bec5d2b667fd4111111ee57d8b71b225e1ef0ce1e6fee2c23bfecdf6b08223/68747470733a2f2f7472617669732d63692e6f72672f6f7572616e6f73686f6e672f7778646563727970742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ouranoshong/wxdecrypt)

微信小程序服务端解密api，每次使用都需要去官方下载，总是不太方便 同时官方示例中PHP代码版本过老，还在使用与类名同名的构造函数，不能直接使用，因此修改并迁移官方示例至composer

composer引入方式:

```
    composer require ouranohsong/wxdecrypt
```

详细使用方式见包内demo.php

```
