PHPackages                             amulet/amulet-tools - 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. amulet/amulet-tools

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

amulet/amulet-tools
===================

'工具包'

v1.32.1(6y ago)021MITPHP &gt;=5.4.0

Since May 11Compare

[ Source](https://github.com/Fushengfu/tools)[ Packagist](https://packagist.org/packages/amulet/amulet-tools)[ RSS](/packages/amulet-amulet-tools/feed)WikiDiscussions Synced 2d ago

READMEChangelog (3)DependenciesVersions (8)Used By (0)

tools
=====

[](#tools)

工具包

简介
==

[](#简介)

内置集成微信开发工具包.

### 目录说明

[](#目录说明)

```
src
│
├─Http				   Http请求类 目录
│
├─Tools				   工具类
│
├─Wechat               微信工具包 目录

```

### Installaction

[](#installaction)

```
composer require amulet/amulet-tools

```

Contents
========

[](#contents)

- [微信](#wechat)
    - [微信接口使用](#微信接口使用)
    - [接收微信消息](#接收微信消息)
- [压缩](#ZipArchive)

wechat
======

[](#wechat)

微信接口使用
------

[](#微信接口使用)

```
use Amulet\Wechat\Wechat;

#$options = [
	'token'=> '',
	'encodingAesKey'=> '',
	'appid'=> '',
	'appsecret'=> '',
	....
];

#实例化
$wechat = new Wechat((array)$options);
#验证是否是微信服务器请求
$wechat->checkSignature($query);

```

接收微信消息
------

[](#接收微信消息)

```
use Amulet\Wechat\{Wechat, Receive};

#$options = [
	'token'=> '',
	'encodingAesKey'=> '',
	'appid'=> '',
	'appsecret'=> '',
	....
];

#实例化
$wechat = new Wechat((array)$options);
#验证是否是微信服务器请求
$wechat->checkSignature($query);

#接收微信事件推送消息 实例化
// 实例化消息对象
$recv = Receive::instance((array)$options);

```

ZipArchive
==========

[](#ziparchive)

```
use Amulet\Tools\FileZip;

//压缩文件
FileZip::compression($files, $zipname, $download = true);

//解压缩文件
FileZip::extract($zipname, $path);

```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~17 days

Recently: every ~1 days

Total

7

Last Release

2505d ago

Major Versions

v0.2 → 1.02019-08-16

PHP version history (3 changes)v0.2PHP &gt;=7.0.0

v1.12PHP &gt;=5.6

v1.31PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3fdaa64ebd5916452d85d3a93d51d5d296c0a93c19f3b7420b969fe7376fa751?d=identicon)[Fushengfu](/maintainers/Fushengfu)

### Embed Badge

![Health badge](/badges/amulet-amulet-tools/health.svg)

```
[![Health](https://phpackages.com/badges/amulet-amulet-tools/health.svg)](https://phpackages.com/packages/amulet-amulet-tools)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
