PHPackages                             cranux/larakeaimao - 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. cranux/larakeaimao

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cranux/larakeaimao
==================

sdk

0.0.10(3y ago)036MITPHPPHP ^7.2.5 || ^8.0

Since Dec 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/cranux/larakeaimao)[ Packagist](https://packagist.org/packages/cranux/larakeaimao)[ RSS](/packages/cranux-larakeaimao/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (1)Versions (11)Used By (0)

 larakeaimao
=============

[](#-larakeaimao-)

 sdk.

Installing
----------

[](#installing)

```
$ composer require cranux/larakeaimao
```

Usage
-----

[](#usage)

#### **代码示例**

[](#代码示例)

1. **接收消息回掉**

    ```
    /接收消息回掉
    $lovelyCat = Factory::LovelyCat([
        'baseUri'=>'https://wm.pyvue.com/',
        'sRequUrl'=>'api/send',
    ]);
    // 解析本次消息 并将消息复制给类属性
    $parseWechat = $lovelyCat->parseWechat();
    // 回复本次消息
    return $lovelyCat->sendTextMsg('111');
    ```
2. #### 主动发送消息

    [](#主动发送消息)

    ```
    $lovelyCat = Factory::LovelyCat([
                'baseUri'=>'https://wm.pyvue.com/',
                'sRequUrl'=>'api/send',
            ]);
    // 两种设置参数的方法
    // 第一如下
    $lovelyCat->from_wxid = '11232434';
    $lovelyCat->robot_wxid = 'wxaa11';
    // 或者 在方法中直接传入
    return $lovelyCat->sendTextMsg('111','wxaa11','11232434');
    ```

**接口列表：**

发送文本消息 send\_text\_msg()

发送群消息并@某人 send\_group\_at\_msg()

发送图片消息 send\_image\_msg()

发送视频消息 send\_video\_msg()

发送文件消息 send\_file\_msg()

发送动态表情 send\_emoji\_msg()

发送分享链接 send\_link\_msg()

发送音乐消息 send\_music\_msg()

取指定登录账号的昵称 get\_robot\_name()

取指定登录账号的头像 get\_robot\_headimgurl()

取登录账号列表 get\_logged\_account\_list()

取好友列表 get\_friend\_list()

取群聊列表 get\_group\_list()

取群成员资料 get\_group\_member()

取群成员列表 get\_group\_member\_list()

接收好友转账 accept\_transfer()

同意群聊邀请 agree\_group\_invite()

同意好友请求 agree\_friend\_verify()

修改好友备注 modify\_friend\_note()

删除好友 delete\_friend()

踢出群成员 remove\_group\_member()

修改群名称 modify\_group\_name()

修改群公告 modify\_group\_notice()

建立新群 building\_group()

退出群聊 quit\_group()

邀请加入群聊 invite\_in\_group() 邀请测试

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Recently: every ~144 days

Total

10

Last Release

1202d ago

### Community

Maintainers

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

---

Top Contributors

[![cranux](https://avatars.githubusercontent.com/u/37317831?v=4)](https://github.com/cranux "cranux (6 commits)")

### Embed Badge

![Health badge](/badges/cranux-larakeaimao/health.svg)

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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