tigokr/slack-api
Composer 安装命令:
composer require tigokr/slack-api
包简介
README 文档
README
Fork from https://github.com/10w042/slack-api
A super simple wrapper for Slack API
Requires > PHP 5.
Installation
composer require tigokr/slack-api
Or download and include the php file.
Usage
See more methods on the Slack API documentation.
List users
$Slack = new Slack('xoxp-0123456789-0123456789-0123456789-1a1a11'); print_r($Slack->call('users.list'));
Invite user to a channel
$Slack = new Slack('xoxp-0123456789-0123456789-0123456789-1a1a11'); print_r($Slack->call('channels.invite', array( 'channel' => 'C1234567890', 'user' => 'U1234567890' )));
Author
License
Copyright (c) 2014
Licensed under the MIT License.
统计信息
- 总下载量: 4.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-03-17