PHPackages                             startrill/weixin - 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. startrill/weixin

ActiveLibrary

startrill/weixin
================

677PHP

Since Jul 11Pushed 11y ago2 watchersCompare

[ Source](https://github.com/startrill/weixin)[ Packagist](https://packagist.org/packages/startrill/weixin)[ RSS](/packages/startrill-weixin/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#Laravel wrapper of weixin php sdk

\##How to install

Add the following into composer.json under your laravel root "startrill/weixin": "dev-master"

Run the Composer update comand

```
$ composer update

```

Add service providers

```
'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'Startrill\Weixin\WeixinServiceProvider',

),

```

Add facade alias 'aliases' =&gt; array(

```
    'App'        => 'Illuminate\Support\Facades\App',
    'Artisan'    => 'Illuminate\Support\Facades\Artisan',
    ...
    'Weixin'    => 'Startrill\Weixin\Facades\Weixin',

),

```

\##How to use Publish your weixin config and modify the config according to your weixin developement account $ php artisan config:publish startrill/weixin

Add bellow url into weixin developement account to check valid

```
http://YOURDOMAIN/wxcheck

```

Sample code to fetch custom menu

```
http://YOURDOMAIN/wxmenu

Route::get('/wxmenu', function(){
    $menu = Weixin::getInstance()->getMenu();
    var_dump($menu);
});

```

License
-------

[](#license)

This is free software distributed under the terms of the MIT license

Additional information
----------------------

[](#additional-information)

Inspired by [wechat-php-sdk](https://github.com/dodgepudding/wechat-php-sdk)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/143033?v=4)[JackieZhou](/maintainers/JackieZhou)[@jackiezhou](https://github.com/jackiezhou)

---

Top Contributors

[![startrill](https://avatars.githubusercontent.com/u/8131577?v=4)](https://github.com/startrill "startrill (1 commits)")

### Embed Badge

![Health badge](/badges/startrill-weixin/health.svg)

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

PHPackages © 2026

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