定制 leonardpg/phpslacknotification 二次开发

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

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

leonardpg/phpslacknotification

Composer 安装命令:

composer require leonardpg/phpslacknotification

包简介

Very simple wrapper to the Slack Incoming Message API endpoint.

README 文档

README

Very simple wrapper to the Slack Incoming Message API endpoint. Suitable for use in projects that need to push messages to a Slack channel. See https://api.slack.com/ for more information about how to set up a Slack app.

Properties

  • url

The url of your Incoming Notification endpoint in your Slack app. See the api link above for more info.

  • message

The text message to send to the Slack channel.

  • responseCode

The HTTP response code returned by slack.

Methods

  • setURL

Sets the url endpoint.

  • setMessage

Sets the message to be posted to Slack.

  • setResponseCode

Sets the response code. Call this after the 'send' method to store the HTTP response code from the response.

  • getURL

Retrieves url endpoint.

  • getMessage

Retrieves the message.

  • getResponseCode

Retrieves the response code of the HTTP response from Slack.

  • send

Uses Curl to post to your incoming hook url.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2017-10-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固