PHPackages                             sjdskl/swxbot - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. sjdskl/swxbot

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

sjdskl/swxbot
=============

weixin web login and tasks

0.04(9y ago)250PHPPHP &gt;=5.5

Since Apr 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sjdskl/swxbot)[ Packagist](https://packagist.org/packages/sjdskl/swxbot)[ RSS](/packages/sjdskl-swxbot/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (5)Versions (12)Used By (0)

swxbot a weixin client
======================

[](#swxbot-a-weixin-client)

Guzzle is php weixin client that can login and send message and do something you want

- Sample login weixin

```
#create and add logininfo
$swxbot = new swxbot\Core\WeChat(swxbot\Library\Login\Logininfo::getInstance());
#show qrcode
$swxbot->showQrCode();
#login
$swxbot->login();

```

- multi process

```
#create process
$process = new swxbot\Library\Progress\ProgressPcntl();
#run background
$process->runBackground();
#create new process to run your code
$process->run(function () use ($swxbot) {
    echo "i am sjdskl1\n";
}, 'swxbot-process1');
$process->run(function () use ($swxbot) {
    echo "i am sjdskl2\n";
}, 'swxbot-process2');

```

- tasks

```
#use process run tasks, your task need extends abstractTasks
$process->runTask(new \Library\Tasks\TzgLog($swxbot),
array(
    'php-act-root-dir' => '/opt/web-data/php-act',
    'sleep_time' => 5,
    'monitor_files' => array('sql_error')
),
'swxbot-log-notify');

```

- listen message helper

```
#you can user helper to handle the message
$helper = new swxbot\Library\Helper\ListenMessageHelper();
$helper->add('test', new swxbot\Library\ListenMessage\TestListenMessage());
$helper->add('test2', new swxbot\Library\ListenMessage\TestListenMessage2());
$swxbot->setListenHelper($helper);
$process->runBackground();
$process->run(function () use ($swxbot) {
    $swxbot->listenMessage();
}, 'swxbot-listen-message');

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Recently: every ~86 days

Total

11

Last Release

2604d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7eac9a1e741ccc9b41af7be3743065baf01cf597d8866e46ac93d3cdc9d7d763?d=identicon)[sjdskl](/maintainers/sjdskl)

---

Top Contributors

[![sjdskl](https://avatars.githubusercontent.com/u/2009682?v=4)](https://github.com/sjdskl "sjdskl (36 commits)")

---

Tags

loginmessageprojectwebweixinweixinprogressWX

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sjdskl-swxbot/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[typo3/cms-core

TYPO3 CMS Core

3312.9M4.8k](/packages/typo3-cms-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[eliashaeussler/cache-warmup

Composer package to warm up website caches, based on a given XML sitemap

75419.2k9](/packages/eliashaeussler-cache-warmup)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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