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

ActiveLibrary

lumintech/laravel-feishu-robot
==============================

1.0.0(1y ago)017MITPHPPHP ^7.4|^8.0

Since May 16Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (2)Used By (0)

飞书机器人扩展
=======

[](#飞书机器人扩展)

这是一个用于 Laravel 的飞书机器人扩展包，提供了发送卡片消息和文本消息的功能。

安装
--

[](#安装)

使用 Composer 安装:

```
composer require lumintech/laravel-feishu-robot
```

使用
--

[](#使用)

首先，你需要在.env文件中配置飞书机器人的 Webhook 地址：

```
FEISHU_ROBOT_WEBHOOK=https://open.feishu.cn/robot/send
```

然后，你可以使用 FeishuRobotCardMessage 和 FeishuRobotTextMessage 类来发送消息。例如：

```
use LuminTech\LaravelFeishuRobot\FeishuRobotCardMessage;

$cardMessage = app()->make(FeishuRobotCardMessage::class);
$cardMessage->setHeaderTemplate(FeishuRobotCardMessage::TEMPLATE_WARING);
$cardMessage->setSubTitle('页面缓存监控');
$cardMessage->addText('-> 告警类型：http监控告警');
$cardMessage->addText('-> 告警时间：2023-01-01 00:00:00');
$cardMessage->addText('-> 告警内容：http://www.baidu.com');
$cardMessage->addAtAllText('蚂蚁足球-监控告警提醒，请尽快处理 ');
$response = $cardMessage->send();
```

API
---

[](#api)

```
FeishuRobotCardMessage::setHeaderTemplate(string $template): FeishuRobotCardMessage
FeishuRobotCardMessage::setTitle(string $title): FeishuRobotCardMessage
FeishuRobotCardMessage::setSubTitle(string $subTitle): FeishuRobotCardMessage
FeishuRobotCardMessage::addText(string $text): FeishuRobotCardMessage
FeishuRobotCardMessage::addAtText(string $text): FeishuRobotCardMessage
FeishuRobotCardMessage::addAtAllText(string $text): FeishuRobotCardMessage
FeishuRobotCardMessage::send()
```

贡献
--

[](#贡献)

欢迎提交 Pull Request 或者提出 Issue。

许可证
---

[](#许可证)

这个项目使用 MIT 许可证，详情请见 LICENSE 文件。

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

726d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/895e32e98a8718736e2a50aae2590f6d697a94d77f8e2b8866844e4867915959?d=identicon)[gaoxu529](/maintainers/gaoxu529)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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