PHPackages                             feishu/robot - 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. feishu/robot

ActiveLibrary

feishu/robot
============

飞书机器人

v1.1(4y ago)3371PHP

Since Sep 28Pushed 4y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

飞书机器人消息推送
=========

[](#飞书机器人消息推送)

飞书机器人消息推送，支持文本，卡片，图片等类型。支持单次推送多个机器人

环境要求
----

[](#环境要求)

- PHP &gt;= 5.6

安装（composer包）
-------------

[](#安装composer包)

```
composer require feishu/robot
```

示例
--

[](#示例)

```
/**
 * 发送飞书机器人消息
 * @param $type text-文本消息;interactive-消息卡片;post-富文本消息;share_chat-发送群名片;image-发送图片
 * @param $data
 * when type=text
 * -content 文本消息内容
 * when type=interactive
 * --title 消息标题
 * --content 消息内容
 * --button_url 按钮url
 * --button_text 按钮文字
 * when type=post
 * --title 标题
 * --content 标题
 * when type=share_chat
 * --share_chat_id 名片ID
 * when type=image
 * --image_key 图片key
 * @param string|array $robot_urls 支持多个机器人
 * @return array
 * --result bool 返回结果，true-发送成功;false-发送失败
 * --error  string  错误信息
 * --list   array   发送结果明细
 */
Feishu\Robot\Robot::getInstance()->sendMsg('interactive',array(
    "title"=>'title1',
    "content"=>'content1',
),$robot_urls);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

1693d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29e180bc315579496eb1a589d06713c0a74dda7f513b1dda7c6d0119681bb4c8?d=identicon)[goodBoysss](/maintainers/goodBoysss)

---

Top Contributors

[![goodBoysss](https://avatars.githubusercontent.com/u/20987602?v=4)](https://github.com/goodBoysss "goodBoysss (8 commits)")

### Embed Badge

![Health badge](/badges/feishu-robot/health.svg)

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

PHPackages © 2026

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