PHPackages                             easywechat-composer/easywechat-composer - 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. easywechat-composer/easywechat-composer

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

easywechat-composer/easywechat-composer
=======================================

The composer plugin for EasyWeChat

1.4.1(4y ago)863.1M↑24.4%8[1 PRs](https://github.com/mingyoung/easywechat-composer/pulls)20MITPHPPHP &gt;=7.0CI failing

Since Nov 15Pushed 4y ago2 watchersCompare

[ Source](https://github.com/mingyoung/easywechat-composer)[ Packagist](https://packagist.org/packages/easywechat-composer/easywechat-composer)[ RSS](/packages/easywechat-composer-easywechat-composer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (21)Used By (20)

EasyWeChat Composer Plugin
==========================

[](#easywechat-composer-plugin)

 [![Build Status](https://camo.githubusercontent.com/21bec1dd58a676cdee2cb5aa1d6bae08b3609b238ee3b9cbb2d33bd63b19e61a/68747470733a2f2f7472617669732d63692e6f72672f6d696e67796f756e672f656173797765636861742d636f6d706f7365722e737667)](https://travis-ci.org/mingyoung/easywechat-composer) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/078cbc1ccaa3a905a672cbb8e5b252f4bbff9b445e8adfad9f2329681603a744/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d696e67796f756e672f656173797765636861742d636f6d706f7365722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mingyoung/easywechat-composer/?branch=master) [![Latest Stable Version](https://camo.githubusercontent.com/1afb716459ef506e3493c14d5e3370bb43e80705ba0543d23d4d019cd571f1a5/68747470733a2f2f706f7365722e707567782e6f72672f656173797765636861742d636f6d706f7365722f656173797765636861742d636f6d706f7365722f762f737461626c652e737667)](https://packagist.org/packages/easywechat-composer/easywechat-composer) [![Total Downloads](https://camo.githubusercontent.com/c492bb08ab99d1c6a7babeaaefaada11e315df15b2e823ef9c836232a05ad81d/68747470733a2f2f706f7365722e707567782e6f72672f656173797765636861742d636f6d706f7365722f656173797765636861742d636f6d706f7365722f642f746f74616c2e737667)](https://packagist.org/packages/easywechat-composer/easywechat-composer) [![License](https://camo.githubusercontent.com/39b3e1541f8124bed3372fffbc45fbd68c4d2c9a987552f020af4fbfb9297e40/68747470733a2f2f706f7365722e707567782e6f72672f656173797765636861742d636f6d706f7365722f656173797765636861742d636f6d706f7365722f6c6963656e73652e737667)](https://packagist.org/packages/easywechat-composer/easywechat-composer)

Usage
-----

[](#usage)

Set the `type` to be `easywechat-extension` in your package composer.json file:

```
{
    "name": "your/package",
    "type": "easywechat-extension"
}
```

Specify server observer classes in the extra section:

```
{
    "name": "your/package",
    "type": "easywechat-extension",
    "extra": {
        "observers": [
            "Acme\\Observers\\Handler"
        ]
    }
}
```

Examples
--------

[](#examples)

- [easywechat-composer/open-platform-testcase](https://github.com/mingyoung/open-platform-testcase)

Server Delegation
-----------------

[](#server-delegation)

> 目前仅支持 Laravel

1. 在 `config/app.php` 中添加 `EasyWeChatComposer\Laravel\ServiceProvider::class`
2. 在**本地项目**的 `.env` 文件中添加如下配置：

```
EASYWECHAT_DELEGATION=true # false 则不启用
EASYWECHAT_DELEGATION_HOST=https://example.com # 线上域名

```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity55

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 88% 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 ~69 days

Recently: every ~163 days

Total

20

Last Release

1779d ago

Major Versions

0.1.4 → 1.0.02018-02-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/ded8a31e2b82b7ebebd3eafd5c47987aea615b37a122ce50d2eb4b50be0bf857?d=identicon)[mingyoung](/maintainers/mingyoung)

---

Top Contributors

[![mingyoung](https://avatars.githubusercontent.com/u/6228858?v=4)](https://github.com/mingyoung "mingyoung (44 commits)")[![jianminLee](https://avatars.githubusercontent.com/u/13827117?v=4)](https://github.com/jianminLee "jianminLee (2 commits)")[![xutl](https://avatars.githubusercontent.com/u/20939388?v=4)](https://github.com/xutl "xutl (2 commits)")[![JasonMann1993](https://avatars.githubusercontent.com/u/28591132?v=4)](https://github.com/JasonMann1993 "JasonMann1993 (1 commits)")[![zingimmick](https://avatars.githubusercontent.com/u/26657141?v=4)](https://github.com/zingimmick "zingimmick (1 commits)")

---

Tags

easywechat

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/easywechat-composer-easywechat-composer/health.svg)

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

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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