Skip to content
CAI
Produce a survey ↗Verify a survey

w7corp/easywechat

This system is a PHP SDK for integrating with WeChat's various platforms, including Official Accounts, Mini Apps, Open Platform, WeChat Work, and WeChat Pay. It provides a structured, object-oriented API for handling authentication, message processing, encryption, and HTTP client interactions. The library has been refactored to use modern PHP practices, introducing dedicated namespaces and contract interfaces for each domain, while removing legacy service providers and configuration patterns. Comprehensive test coverage ensures the reliability of its core components, including HTTP clients, encryption utilities, and platform-specific clients.

60.1

Adequate · 2 August 2026

7.3k

lines of production code

PHP

with JavaScript

2

bus factor · 271 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2015–2017 · EasyWeChat v5.0 refactoring

This period marks the comprehensive refactoring of the WeChat SDK into the 'EasyWeChat' package, introducing a modernized kernel with PSR-7/PSR-16/PSR-18 compliance and strict PHP 8.0+ requirements. The work involved replacing legacy service providers and configuration classes with new, modular components for access tokens, encryption, and message handling across Official Accounts, Open Platform, and WeChat Work.

16 changes

2018–2022 · SDK architecture and contract standardization

This period focused on standardizing the SDK's internal structure by introducing strict contract interfaces for all major modules, including Official Account, MiniApp, Open Platform, and Open Work. The work also involved significant refactoring of the HTTP client layer to improve reliability and adding comprehensive test coverage for the kernel and support classes.

13 changes

CAI lens gauges

Survey your own repository

w7corp/easywechat was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 2 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 7a93b80493 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards