定制 websvc/php-rocketchat-webhooks 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

websvc/php-rocketchat-webhooks

最新稳定版本:1.0.0

Composer 安装命令:

composer require websvc/php-rocketchat-webhooks

包简介

A PHP interface to send requests to Rocket Chat incoming webhooks.

README 文档

README

Send requests to Rocket Chat Incoming Webhooks

Tested with Rocket Chat server v 0.63.0

Install

composer require websvc/php-rocketchat-webhooks 1.0.0

Rocket Chat setup

Create a new Incomming Hook in Administration and retrieve the URL with token.

Usage

Simple message:

$client = new \PhpRocketChatWebhooks\Client('https://rocket.chat/hooks/TOKEN', "Optional-Username"); $client->sendRequest("Hello World!");

Message with attachment:

$client = new \PhpRocketChatWebhooks\Client('https://rocket.chat/hooks/TOKEN', "Optional-Username"); $client->sendRequest("Hello World!", [ 'title' => "Google homepage", 'title_link' => "https://google.com", 'text' => "text text text text text text text", 'image_url' => "https://www.google.pt/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png", ]);

Buy me a cofee

If You'd like to thank me you can buy me a cofee. Cofee is never too much :)

https://www.buymeacoffee.com/websvc

统计信息

  • 总下载量: 75.99k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固