PHPackages                             xzncit/developer-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. [Framework](/categories/framework)
4. /
5. xzncit/developer-tools

ActiveLibrary[Framework](/categories/framework)

xzncit/developer-tools
======================

PHP Development Framework

0.6.7(9mo ago)2177GPL-3.0PHPPHP &gt;=7.2.5

Since Apr 23Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/xzncit/developer-tools)[ Packagist](https://packagist.org/packages/xzncit/developer-tools)[ Docs](http://www.a3-mall.com/)[ RSS](/packages/xzncit-developer-tools/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (7)Versions (50)Used By (0)

PHP Wechat Development Framework
================================

[](#php-wechat-development-framework)

 [ ![](https://camo.githubusercontent.com/00bcb62662d80667a2726161a5feac4c0aaaaf016e4676cd5b58ea8a1dbf415b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f576562736974652d41334d616c6c2d696d706f7274616e742e737667) ](http://www.a3-mall.com)[ ![](https://camo.githubusercontent.com/5e4d3154858346de901f1593f02cd5fc1cb627b78847f3abf895e8b284e98455/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e63652d47504c332e302d677265656e2e737667) ](http://www.a3-mall.com) [ ![](https://camo.githubusercontent.com/da89a0c50f01d3cb802980ba9ca7b3ce5d546f0a4dcbcfcecd09b9a5012336b0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f45646974696f6e2d76302e362e322d626c75652e737667) ](http://www.a3-mall.com)

 **如果本PHP WeChat 开发包对您有所帮助，您可以点右上角 "Star" 支持一下 谢谢！**

#### 环境要求

[](#环境要求)

- PHP &gt;= 7.2.5
- Composer
- Openssl PHP Extension
- MBstring PHP Extension
- FileInfo PHP Extension

#### 安装

[](#安装)

```
composer require "xzncit/developer-tools:^0.6.1"

```

#### 基本使用

[](#基本使用)

```
include "vendor/autoload.php";

use xzncit\Factory;

try {
    // wechat
    $app = Factory::Wechat([
        "token"=>"omJNpZEhZ5VFbk1HeHj1ZxFECKkP48BP",
        "appid"=>"wxa02e77d8a507d608",
        "appsecret"=>"3396f50c1f55c2089f4316b6f7c9f71b"
    ]);

    // 创建自定义菜单
    $response = $app->menu->create([
        // ...
    ]);

    // 返回信息
    var_dump($response);
}catch (\Exception $ex){
    echo("error: ".$ex->getMessage());
}

try {
    // mini
    $app = Factory::MiniProgram([
        "appid"=>"wxa02e77d8a507d608",
        "appsecret"=>"3396f50c1f55c2089f4316b6f7c9f71b"
    ]);

    // 登录凭证校验
    $response = $app->oauth->code2Session("31f55c2089f4316b6");

    // 返回信息
    var_dump($response);
}catch (\Exception $ex){
    echo("error: ".$ex->getMessage());
}
```

#### 文档

[](#文档)

文档整理中...

**bug反馈**

如果您使用过程中发现BUG或者其他问题都欢迎大家提交Issue,或者发送邮件给我 ，我们将及时修复并更新。

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance58

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~33 days

Recently: every ~0 days

Total

49

Last Release

275d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28cb7b39a67b7178ea4d254c08e22723146543b4289434471860c2424867609f?d=identicon)[xzncit](/maintainers/xzncit)

---

Top Contributors

[![xzncit](https://avatars.githubusercontent.com/u/24415717?v=4)](https://github.com/xzncit "xzncit (50 commits)")

---

Tags

frameworksdkwechatweixinminiprogram

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)

PHPackages © 2026

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